From 2bd7a8e93ed1a25847c1ea00f2258313b5ca41d7 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 21 Mar 2024 12:28:51 -0500 Subject: [PATCH] fix out of order param --- web/src/hooks/use-draggable-element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/hooks/use-draggable-element.ts b/web/src/hooks/use-draggable-element.ts index fa4d9a187..7646478d7 100644 --- a/web/src/hooks/use-draggable-element.ts +++ b/web/src/hooks/use-draggable-element.ts @@ -41,8 +41,8 @@ function useDraggableElement({ const [clientYPosition, setClientYPosition] = useState(null); const [initialClickAdjustment, setInitialClickAdjustment] = useState(0); const { alignStartDateToTimeline, getCumulativeScrollTop } = useTimelineUtils( - timelineDuration, segmentDuration, + timelineDuration, timelineRef, );