diff --git a/apps/web/app/components/editor/player/remotion/sequence/composition.tsx b/apps/web/app/components/editor/player/remotion/sequence/composition.tsx index 3e562c7..dbda453 100644 --- a/apps/web/app/components/editor/player/remotion/sequence/composition.tsx +++ b/apps/web/app/components/editor/player/remotion/sequence/composition.tsx @@ -19,6 +19,7 @@ const Composition = () => { if (Math.abs(currentTimeInSeconds - previousTime.current) > THRESHOLD) { if (currentTimeInSeconds !== undefined) { dispatch(setCurrentTime(currentTimeInSeconds)); + previousTime.current = currentTimeInSeconds; } } diff --git a/test_tsx.ts b/test_tsx.ts new file mode 100644 index 0000000..b5e94dd --- /dev/null +++ b/test_tsx.ts @@ -0,0 +1 @@ +console.log('Hello from tsx')