summaryrefslogtreecommitdiff
path: root/apps/web/src/hooks/timeline/use-scroll-sync.ts
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-02-01 10:03:51 +0100
committerMaze Winther <mazewinther@gmail.com>2026-02-01 10:03:51 +0100
commit1d55b903d767656ea067ce028289ca6c99389706 (patch)
tree2e0dea68bd7c89f9f2264da5c4b893c2303acd2a /apps/web/src/hooks/timeline/use-scroll-sync.ts
parentaf047ba4a7d14c640380ab4becd1c2b14892b9ed (diff)
downloadopencut-1d55b903d767656ea067ce028289ca6c99389706.tar.gz
fix remaining errors
Diffstat (limited to 'apps/web/src/hooks/timeline/use-scroll-sync.ts')
-rw-r--r--apps/web/src/hooks/timeline/use-scroll-sync.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/web/src/hooks/timeline/use-scroll-sync.ts b/apps/web/src/hooks/timeline/use-scroll-sync.ts
index cdd915b0..61465a3d 100644
--- a/apps/web/src/hooks/timeline/use-scroll-sync.ts
+++ b/apps/web/src/hooks/timeline/use-scroll-sync.ts
@@ -1,10 +1,10 @@
import { useEffect, useRef } from "react";
interface UseScrollSyncProps {
- rulerScrollRef?: React.RefObject<HTMLDivElement>;
- tracksScrollRef: React.RefObject<HTMLDivElement>;
- trackLabelsScrollRef?: React.RefObject<HTMLDivElement>;
- bookmarksScrollRef?: React.RefObject<HTMLDivElement>;
+ rulerScrollRef?: React.RefObject<HTMLDivElement | null>;
+ tracksScrollRef: React.RefObject<HTMLDivElement | null>;
+ trackLabelsScrollRef?: React.RefObject<HTMLDivElement | null>;
+ bookmarksScrollRef?: React.RefObject<HTMLDivElement | null>;
}
export function useScrollSync({