Refac remove eslint ignore

This commit is contained in:
Merlin Scheurer 2026-04-20 13:36:48 +02:00
parent 9c51b0c2cf
commit 868d25c0a3
1 changed files with 1 additions and 2 deletions

View File

@ -406,8 +406,7 @@ const VideoPlayer = ({
onVideoEnd?.();
},
// eslint-disable-next-line react-hooks/exhaustive-deps
[videoId, watched],
[onVideoEnd, onWatchStateChanged, videoId, watched],
);
const handleKeyDown = useCallback((e: KeyboardEvent<HTMLVideoElement | HTMLAudioElement>) => {