Skip to content

The open-source CapCut alternative

fix comment remove check time

gantirofaf317cd2075
diff --git a/apps/web/src/hooks/use-timeline-playhead.ts b/apps/web/src/hooks/use-timeline-playhead.ts
index 1899d182..9eb06485 100644
--- a/apps/web/src/hooks/use-timeline-playhead.ts
+++ b/apps/web/src/hooks/use-timeline-playhead.ts
@@ -89,7 +89,6 @@ export function useTimelinePlayhead({
if (e.button !== 0) return;
e.preventDefault();
const time = getTimeFromMouse(e);
- if (time === undefined) return;
isScrubbingRef.current = true;
scrubTimeRef.current = time;