diff --git a/src/timeline/index.tsx b/src/timeline/index.tsx index b065aff..22cb11f 100644 --- a/src/timeline/index.tsx +++ b/src/timeline/index.tsx @@ -81,9 +81,9 @@ export default function Timeline() { // setVideoDur(store.video.duration); }, [store.widgetList]); - console.log(videoDur); - console.log(layout); - console.log(widgetArr); + // console.log(videoDur); + // console.log(layout); + // console.log(widgetArr); const formatTime = (time: any) => { if (typeof time == "number") { @@ -126,6 +126,12 @@ export default function Timeline() { }); setIsModalVisible(false); }; + const changeStoreCurrentId = (id: number) => { + setStore({ + ...store, + currentWidgetId: id, + }); + }; return (
{widget.name}