From 4353fdbd4df234750956e12f3736e32be1c023b7 Mon Sep 17 00:00:00 2001 From: p-boon <24475562+p-boon@users.noreply.github.com> Date: Wed, 5 Mar 2025 20:46:47 +0100 Subject: [PATCH] Lint fixes --- web/src/components/timeline/MotionReviewTimeline.tsx | 3 ++- web/src/components/timeline/MotionSegment.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/web/src/components/timeline/MotionReviewTimeline.tsx b/web/src/components/timeline/MotionReviewTimeline.tsx index 81d3d8a3d..450da98ca 100644 --- a/web/src/components/timeline/MotionReviewTimeline.tsx +++ b/web/src/components/timeline/MotionReviewTimeline.tsx @@ -121,7 +121,8 @@ export function MotionReviewTimeline({ ); const segmentMotion = - firstHalfMotionValue.totalMotion > 0 || secondHalfMotionValue.totalMotion > 0; + firstHalfMotionValue.totalMotion > 0 || + secondHalfMotionValue.totalMotion > 0; if (segmentMotion && !overlappingReviewItems) { segments.push(segmentTime); } diff --git a/web/src/components/timeline/MotionSegment.tsx b/web/src/components/timeline/MotionSegment.tsx index a41fe3a81..4bc493c8c 100644 --- a/web/src/components/timeline/MotionSegment.tsx +++ b/web/src/components/timeline/MotionSegment.tsx @@ -237,7 +237,8 @@ export function MotionSegment({ secondHalfSegmentWidth ? "bg-motion_review" : "bg-muted-foreground", - secondHalfSegmentWidth && secondHalfMotionValue.isCalibrating + secondHalfSegmentWidth && + secondHalfMotionValue.isCalibrating ? "bg-motion_review_is_calibrating" : "", )}