diff --git a/app/packages/playback/src/lib/use-create-timeline.ts b/app/packages/playback/src/lib/use-create-timeline.ts index 2e63dabab5..99303ac05d 100644 --- a/app/packages/playback/src/lib/use-create-timeline.ts +++ b/app/packages/playback/src/lib/use-create-timeline.ts @@ -172,7 +172,7 @@ export const useCreateTimeline = ( play(); e.stopPropagation(); }, - [timelineName] + [timelineName, play] ); const onPauseEvent = useCallback( @@ -184,7 +184,7 @@ export const useCreateTimeline = ( pause(); e.stopPropagation(); }, - [timelineName] + [timelineName, pause] ); const onSeek = useCallback(