중복 코드 제거
This commit is contained in:
@@ -1241,18 +1241,7 @@ const PlayerPanel = ({
|
||||
videoInitialFocused();
|
||||
}
|
||||
}
|
||||
}, [playListInfo, panelInfo.targetId]);
|
||||
|
||||
//10초 후 닫힐때 TabButton 포커스
|
||||
useEffect(() => {
|
||||
if (playListInfo && playListInfo.length > 0) {
|
||||
if (panelInfo.targetId) {
|
||||
videoItemFocused();
|
||||
} else {
|
||||
videoInitialFocused();
|
||||
}
|
||||
}
|
||||
}, [sideContentsVisible, panelInfo.modal]);
|
||||
}, [playListInfo, panelInfo.targetId, sideContentsVisible]);
|
||||
|
||||
// liveChannel initial selectedIndex
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user