중복 코드 제거

This commit is contained in:
opacity@t-win.kr
2025-11-11 17:51:03 +09:00
parent 8f4611fe8d
commit 2e5d701a5f

View File

@@ -1241,18 +1241,7 @@ const PlayerPanel = ({
videoInitialFocused(); videoInitialFocused();
} }
} }
}, [playListInfo, panelInfo.targetId]); }, [playListInfo, panelInfo.targetId, sideContentsVisible]);
//10초 후 닫힐때 TabButton 포커스
useEffect(() => {
if (playListInfo && playListInfo.length > 0) {
if (panelInfo.targetId) {
videoItemFocused();
} else {
videoInitialFocused();
}
}
}, [sideContentsVisible, panelInfo.modal]);
// liveChannel initial selectedIndex // liveChannel initial selectedIndex
useEffect(() => { useEffect(() => {