diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-02-01 09:54:29 +0100 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-02-01 09:54:29 +0100 |
| commit | af047ba4a7d14c640380ab4becd1c2b14892b9ed (patch) | |
| tree | 48bccffaf6651a4bac8cfe090c5c393fac4d1823 /apps/web/src/hooks/timeline/use-timeline-playhead.ts | |
| parent | ef3563745a3f85e78ca1daa1ba6fb4bf16aadacd (diff) | |
| download | opencut-af047ba4a7d14c640380ab4becd1c2b14892b9ed.tar.gz | |
more errors
Diffstat (limited to 'apps/web/src/hooks/timeline/use-timeline-playhead.ts')
| -rw-r--r-- | apps/web/src/hooks/timeline/use-timeline-playhead.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/web/src/hooks/timeline/use-timeline-playhead.ts b/apps/web/src/hooks/timeline/use-timeline-playhead.ts index 55e04a68..34a14793 100644 --- a/apps/web/src/hooks/timeline/use-timeline-playhead.ts +++ b/apps/web/src/hooks/timeline/use-timeline-playhead.ts @@ -6,10 +6,10 @@ import { TIMELINE_CONSTANTS } from "@/constants/timeline-constants"; interface UseTimelinePlayheadProps { zoomLevel: number; - rulerRef: React.RefObject<HTMLDivElement>; - rulerScrollRef: React.RefObject<HTMLDivElement>; - tracksScrollRef: React.RefObject<HTMLDivElement>; - playheadRef?: React.RefObject<HTMLDivElement>; + rulerRef: React.RefObject<HTMLDivElement | null>; + rulerScrollRef: React.RefObject<HTMLDivElement | null>; + tracksScrollRef: React.RefObject<HTMLDivElement | null>; + playheadRef?: React.RefObject<HTMLDivElement | null>; } export function useTimelinePlayhead({ |
