Lint fixes

This commit is contained in:
p-boon 2025-03-05 20:46:47 +01:00
parent 31dfd97493
commit 4353fdbd4d
2 changed files with 4 additions and 2 deletions

View File

@ -121,7 +121,8 @@ export function MotionReviewTimeline({
); );
const segmentMotion = const segmentMotion =
firstHalfMotionValue.totalMotion > 0 || secondHalfMotionValue.totalMotion > 0; firstHalfMotionValue.totalMotion > 0 ||
secondHalfMotionValue.totalMotion > 0;
if (segmentMotion && !overlappingReviewItems) { if (segmentMotion && !overlappingReviewItems) {
segments.push(segmentTime); segments.push(segmentTime);
} }

View File

@ -237,7 +237,8 @@ export function MotionSegment({
secondHalfSegmentWidth secondHalfSegmentWidth
? "bg-motion_review" ? "bg-motion_review"
: "bg-muted-foreground", : "bg-muted-foreground",
secondHalfSegmentWidth && secondHalfMotionValue.isCalibrating secondHalfSegmentWidth &&
secondHalfMotionValue.isCalibrating
? "bg-motion_review_is_calibrating" ? "bg-motion_review_is_calibrating"
: "", : "",
)} )}