From 868d25c0a3930bbe4c067e52c14ca2b1f41d0b17 Mon Sep 17 00:00:00 2001 From: Merlin Scheurer Date: Mon, 20 Apr 2026 13:36:48 +0200 Subject: [PATCH] Refac remove eslint ignore --- frontend/src/components/VideoPlayer.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) => {