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 =
firstHalfMotionValue.totalMotion > 0 || secondHalfMotionValue.totalMotion > 0;
firstHalfMotionValue.totalMotion > 0 ||
secondHalfMotionValue.totalMotion > 0;
if (segmentMotion && !overlappingReviewItems) {
segments.push(segmentTime);
}

View File

@ -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"
: "",
)}