The open-source CapCut alternative
fix errors
Maze Wintheref3563745a3f
diff --git a/apps/web/src/hooks/timeline/use-timeline-zoom.ts b/apps/web/src/hooks/timeline/use-timeline-zoom.tsindex 96a4be43..3d15b5c8 100644--- a/apps/web/src/hooks/timeline/use-timeline-zoom.ts+++ b/apps/web/src/hooks/timeline/use-timeline-zoom.ts@@ -11,13 +11,13 @@ import { TIMELINE_CONSTANTS } from "@/constants/timeline-constants";import { useEditor } from "@/hooks/use-editor";interface UseTimelineZoomProps {- containerRef: RefObject<HTMLDivElement>;+ containerRef: RefObject<HTMLDivElement | null>;minZoom?: number;initialZoom?: number;initialScrollLeft?: number;initialPlayheadTime?: number;- tracksScrollRef: RefObject<HTMLDivElement>;- rulerScrollRef: RefObject<HTMLDivElement>;+ tracksScrollRef: RefObject<HTMLDivElement | null>;+ rulerScrollRef: RefObject<HTMLDivElement | null>;}interface UseTimelineZoomReturn {