[251029] fix: HowAboutTheseResponse 배경상품표시
🕐 커밋 시간: 2025. 10. 29. 20:03:57 📊 변경 통계: • 총 파일: 3개 • 추가: +12줄 • 삭제: -5줄 📁 추가된 파일: + com.twin.app.shoptime/src/utils/browserUtils.js 📝 수정된 파일: ~ com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.new.v2.jsx ~ com.twin.app.shoptime/src/views/SearchPanel/SearchResults.new.v2.jsx 🔧 주요 변경 내용: • 공통 유틸리티 함수 최적화
This commit is contained in:
@@ -1069,6 +1069,8 @@ export default function SearchPanel({ panelInfo, isOnTop, spotlightId }) {
|
||||
|
||||
// API 호출 전에 이전 데이터 초기화
|
||||
setIsShopperHousePending(true);
|
||||
// 🎯 REF 활용: clearShopperHouseData() 전에 현재 데이터를 ref에 임시 저장
|
||||
shopperHouseDataRef.current = shopperHouseData;
|
||||
dispatch(clearShopperHouseData());
|
||||
|
||||
// Redux state 업데이트를 위해 약간의 지연 후 API 호출
|
||||
@@ -1234,6 +1236,7 @@ export default function SearchPanel({ panelInfo, isOnTop, spotlightId }) {
|
||||
itemInfo={searchDatas.item}
|
||||
showInfo={searchDatas.show}
|
||||
shopperHouseInfo={shopperHouseData}
|
||||
fallbackShopperHouseData={shopperHouseDataRef.current}
|
||||
shopperHouseSearchId={shopperHouseSearchId}
|
||||
shopperHouseRelativeQueries={shopperHouseRelativeQueries}
|
||||
keywordClick={handleKeywordClick}
|
||||
|
||||
Reference in New Issue
Block a user