From b4d35fd67bd33bf7308a9a0c9d08e3e1b2f78043 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Fri, 15 Mar 2024 19:13:56 -0500 Subject: [PATCH] remove unneeded var --- web/src/components/timeline/MotionSegment.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/web/src/components/timeline/MotionSegment.tsx b/web/src/components/timeline/MotionSegment.tsx index 980ec7ef1..d8aac7654 100644 --- a/web/src/components/timeline/MotionSegment.tsx +++ b/web/src/components/timeline/MotionSegment.tsx @@ -66,15 +66,6 @@ export function MotionSegment({ [shouldShowRoundedCorners, segmentTime], ); - const startTimestamp = useMemo(() => { - const eventStart = getMotionStart(segmentTime); - if (eventStart) { - return alignStartDateToTimeline(eventStart); - } - // we know that these deps are correct - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [getMotionStart, segmentTime]); - const timestamp = useMemo(() => new Date(segmentTime * 1000), [segmentTime]); const segmentKey = useMemo(() => segmentTime, [segmentTime]);