Skip to content

The open-source CapCut alternative

testing 2

Maze Winther4f64ff50cd56
diff --git a/apps/web/src/components/editor/timeline/snap-indicator.tsx b/apps/web/src/components/editor/timeline/snap-indicator.tsx
index 6bfdf086..914edccb 100644
--- a/apps/web/src/components/editor/timeline/snap-indicator.tsx
+++ b/apps/web/src/components/editor/timeline/snap-indicator.tsx
@@ -9,9 +9,9 @@ interface SnapIndicatorProps {
zoomLevel: number;
isVisible: boolean;
tracks: TimelineTrack[];
- timelineRef: React.RefObject<HTMLDivElement>;
- trackLabelsRef?: React.RefObject<HTMLDivElement>;
- tracksScrollRef: React.RefObject<HTMLDivElement>;
+ timelineRef: React.RefObject<HTMLDivElement | null>;
+ trackLabelsRef?: React.RefObject<HTMLDivElement | null>;
+ tracksScrollRef: React.RefObject<HTMLDivElement | null>;
}
export function SnapIndicator({