중복 코드 제거
This commit is contained in:
@@ -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(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user