diff --git a/web/src/components/player/HlsVideoPlayer.tsx b/web/src/components/player/HlsVideoPlayer.tsx index 93f1da702..4b1bfe5ef 100644 --- a/web/src/components/player/HlsVideoPlayer.tsx +++ b/web/src/components/player/HlsVideoPlayer.tsx @@ -139,7 +139,7 @@ export default function HlsVideoPlayer({ if (hlsRef.current) { hlsRef.current.destroy(); } - } + }; }, [videoRef, hlsRef, useHlsCompat, currentSource]); // state handling