From 9b534b968da2a87e2cfc0c8e62cda127f98edae1 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 26 Aug 2024 22:28:45 +0100 Subject: [Video] add scrubber to the web player (#4943) --- src/components/hooks/useInteractionState.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/hooks/useInteractionState.ts') diff --git a/src/components/hooks/useInteractionState.ts b/src/components/hooks/useInteractionState.ts index 653b1c10e..67042d4a8 100644 --- a/src/components/hooks/useInteractionState.ts +++ b/src/components/hooks/useInteractionState.ts @@ -5,10 +5,10 @@ export function useInteractionState() { const onIn = React.useCallback(() => { setState(true) - }, [setState]) + }, []) const onOut = React.useCallback(() => { setState(false) - }, [setState]) + }, []) return React.useMemo( () => ({ -- cgit 1.4.1