[251116] feat: useVideoMove 코멘트 처리:

🕐 커밋 시간: 2025. 11. 16. 17:51:51

📊 변경 통계:
  • 총 파일: 2개
  • 추가: +17줄
  • 삭제: -12줄

📝 수정된 파일:
  ~ com.twin.app.shoptime/src/views/HomePanel/HomeBanner/HomeBanner.jsx
  ~ com.twin.app.shoptime/src/views/HomePanel/HomePanel.jsx

🔧 주요 변경 내용:
  • 코드 정리 및 최적화
This commit is contained in:
2025-11-16 17:51:52 +09:00
parent 2d93ee6ca4
commit 4699797a99
2 changed files with 105 additions and 162 deletions

View File

@@ -43,7 +43,8 @@ import useDebugKey from '../../hooks/useDebugKey';
import { useFocusHistory } from '../../hooks/useFocusHistory/useFocusHistory';
import usePrevious from '../../hooks/usePrevious';
import { useVideoPlay } from '../../hooks/useVideoPlay/useVideoPlay';
import { useVideoMove } from '../../hooks/useVideoTransition/useVideoMove';
// [COMMENTED OUT] useVideoMove 관련 코드 주석 처리 - 향후 사용 검토 필요
// import { useVideoMove } from '../../hooks/useVideoTransition/useVideoMove';
import {
ACTIVE_POPUP,
LOG_CONTEXT_NAME,
@@ -90,10 +91,11 @@ const HomePanel = ({ isOnTop }) => {
});
// 🔽 useVideoMove - 포커스 전환 기반 동영상 제어
const { playByTransition, cleanup } = useVideoMove({
enableLogging: true,
logPrefix: '[HomePanel-VideoMove]',
});
// [COMMENTED OUT] useVideoMove 미사용 - cleanup() 호출되지 않음
// const { playByTransition, cleanup } = useVideoMove({
// enableLogging: true,
// logPrefix: '[HomePanel-VideoMove]',
// });
const isGnbOpened = useSelector((state) => state.common.isGnbOpened);
const homeLayoutInfo = useSelector((state) => state.home.layoutData);
const panelInfo = useSelector((state) => state.home.homeInfo?.panelInfo ?? {});