This commit is contained in:
ct
2025-06-15 20:58:33 +08:00
parent 98874887c1
commit 70813b16ba

View File

@@ -67,7 +67,7 @@ const VideoEditor = ({ width, height }) => {
}, [timelineElements]); }, [timelineElements]);
const initTimeline = () => { const initTimeline = () => {
cleanupVideos(); cleanupVideos(videoElements);
setTimelineElementsAsync(sampleTimelineElements).then(() => { setTimelineElementsAsync(sampleTimelineElements).then(() => {
showConsoleLogs && console.log('Loaded sample timeline'); showConsoleLogs && console.log('Loaded sample timeline');