From b7a645c2412ac9fc8172d60aaa96ff2c7688f328 Mon Sep 17 00:00:00 2001 From: Hanif Dwy Putra S Date: Sat, 30 Aug 2025 08:24:47 +0800 Subject: [PATCH] feat: remove onPlayState Signed-off-by: Hanif Dwy Putra S --- apps/web/src/app/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx index 790136f..d02d14c 100644 --- a/apps/web/src/app/page.tsx +++ b/apps/web/src/app/page.tsx @@ -39,7 +39,7 @@ const VideoPlayer = ({ }); } } - }, [currentTime, isActive, isPlaying, onPlayStateChange]); + }, [currentTime, isActive, isPlaying]); useEffect(() => { const video = videoRef.current; @@ -64,7 +64,7 @@ const VideoPlayer = ({ } } } - }, [isPlaying, isActive, currentTime, onPlayStateChange]); + }, [isPlaying, isActive, currentTime]); const handleTimeUpdate = () => { if (videoRef.current && isActive) {