diff --git a/frontend/src/components/VideoPlayer.tsx b/frontend/src/components/VideoPlayer.tsx index f9977c6b..3f8d26f6 100644 --- a/frontend/src/components/VideoPlayer.tsx +++ b/frontend/src/components/VideoPlayer.tsx @@ -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) => {