[251026] fix: TabLayout -> SearchPanel reset..

🕐 커밋 시간: 2025. 10. 26. 09:26:05

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

📝 수정된 파일:
  ~ com.twin.app.shoptime/src/components/TabLayout/TabLayout.jsx

🔧 주요 변경 내용:
  • UI 컴포넌트 아키텍처 개선
This commit is contained in:
2025-10-26 09:26:05 +09:00
parent 0b66319200
commit 81941479b4

View File

@@ -23,7 +23,7 @@ import shoptimeFullIcon from "../../../assets/images/icons/ic-lnb-logo-shoptime@
import { gnbOpened } from "../../actions/commonActions";
import { checkEnterThroughGNB, resetHomeInfo } from "../../actions/homeActions";
import { resetPanels } from "../../actions/panelActions";
import { resetVoiceSearch } from "../../actions/searchActions";
import { resetSearch,resetVoiceSearch } from "../../actions/searchActions";
import usePrevious from "../../hooks/usePrevious";
import useScrollTo from "../../hooks/useScrollTo";
import { panel_names } from "../../utils/Config";
@@ -516,6 +516,7 @@ export default function TabLayout({ topPanelName, onTabActivated, panelInfo }) {
if (target && target[0] && target[0].name === panel_names.SEARCH_PANEL) {
deActivateTab();
spotToPanel();
dispatch(resetSearch());
dispatch(resetVoiceSearch());
dispatch(resetPanels(target));
dispatch(checkEnterThroughGNB(true));