0
- ? offsets.offscreenLeft
- : -offsets.offscreenRight
- }px)`,
+ transform: `translateX(${transformX}px)`,
}}
>
{currentThumbnail && (
@@ -58,11 +62,8 @@ function ThumbnailDisplay(props: { at: number; show: boolean }) {
className="h-24 border rounded-xl border-gray-800"
/>
)}
-
- {formatSeconds(
- Math.max(props.at, 0),
- durationExceedsHour(props.at),
- )}
+
+ {formattedTime}