diff --git a/resources/js/modules/editor/partials/canvas/video-editor.jsx b/resources/js/modules/editor/partials/canvas/video-editor.jsx index 452d3e0..01fd660 100644 --- a/resources/js/modules/editor/partials/canvas/video-editor.jsx +++ b/resources/js/modules/editor/partials/canvas/video-editor.jsx @@ -67,7 +67,7 @@ const VideoEditor = ({ width, height }) => { }, [timelineElements]); const initTimeline = () => { - cleanupVideos(); + cleanupVideos(videoElements); setTimelineElementsAsync(sampleTimelineElements).then(() => { showConsoleLogs && console.log('Loaded sample timeline');