There was an error while loading. Please reload this page.
1 parent f9549ef commit d36e6aaCopy full SHA for d36e6aa
src/components/Timeline.tsx
@@ -97,7 +97,7 @@ export function Timeline(props: TimelineProps) {
97
resizeObserver.observe(rightContainer.current);
98
}
99
return () => resizeObserver.disconnect();
100
- }, []);
+ }, [positioning]);
101
102
return (
103
<div className={['timeline', `timeline--${positioning}`, className].join(' ')} ref={timelineRef}>
0 commit comments