diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-08-26 22:28:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-26 22:28:45 +0100 |
commit | 9b534b968da2a87e2cfc0c8e62cda127f98edae1 (patch) | |
tree | 09e0faf84cd700088f80707298c58cf327f89a4c /src/components/hooks/useInteractionState.ts | |
parent | def9dda29c7fb08edc4cbf5d659221b976413a05 (diff) | |
download | voidsky-9b534b968da2a87e2cfc0c8e62cda127f98edae1.tar.zst |
[Video] add scrubber to the web player (#4943)
Diffstat (limited to 'src/components/hooks/useInteractionState.ts')
-rw-r--r-- | src/components/hooks/useInteractionState.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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( () => ({ |