diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-02-01 10:03:51 +0100 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-02-01 10:03:51 +0100 |
| commit | 1d55b903d767656ea067ce028289ca6c99389706 (patch) | |
| tree | 2e0dea68bd7c89f9f2264da5c4b893c2303acd2a /apps/web/src/hooks/timeline/use-timeline-seek.ts | |
| parent | af047ba4a7d14c640380ab4becd1c2b14892b9ed (diff) | |
| download | opencut-1d55b903d767656ea067ce028289ca6c99389706.tar.gz | |
fix remaining errors
Diffstat (limited to 'apps/web/src/hooks/timeline/use-timeline-seek.ts')
| -rw-r--r-- | apps/web/src/hooks/timeline/use-timeline-seek.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/web/src/hooks/timeline/use-timeline-seek.ts b/apps/web/src/hooks/timeline/use-timeline-seek.ts index f5dc6ddb..127ebcbb 100644 --- a/apps/web/src/hooks/timeline/use-timeline-seek.ts +++ b/apps/web/src/hooks/timeline/use-timeline-seek.ts @@ -5,10 +5,10 @@ import { getSnappedSeekTime } from "@/lib/time"; import { useEditor } from "../use-editor"; interface UseTimelineSeekProps { - playheadRef: RefObject<HTMLDivElement>; - trackLabelsRef: RefObject<HTMLDivElement>; - rulerScrollRef: RefObject<HTMLDivElement>; - tracksScrollRef: RefObject<HTMLDivElement>; + playheadRef: RefObject<HTMLDivElement | null>; + trackLabelsRef: RefObject<HTMLDivElement | null>; + rulerScrollRef: RefObject<HTMLDivElement | null>; + tracksScrollRef: RefObject<HTMLDivElement | null>; zoomLevel: number; duration: number; isSelecting: boolean; |
