[251016] fix: VoiceInputOverlay Search API Call

🕐 커밋 시간: 2025. 10. 16. 13:18:03

📊 변경 통계:
  • 총 파일: 5개
  • 추가: +112줄
  • 삭제: -27줄

📝 수정된 파일:
  ~ com.twin.app.shoptime/src/reducers/searchReducer.js
  ~ com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.new.jsx
  ~ com.twin.app.shoptime/src/views/SearchPanel/SearchResults.new.jsx
  ~ com.twin.app.shoptime/src/views/SearchPanel/VoiceInputOverlay/VoiceInputOverlay.jsx
  ~ com.twin.app.shoptime/src/views/SearchPanel/VoiceInputOverlay/VoiceInputOverlay.module.less

🔧 함수 변경 내용:
  📄 com.twin.app.shoptime/src/views/SearchPanel/SearchResults.new.jsx (javascript):
     Added: SearchResultsNew()
     Deleted: SearchResultsNew()

🔧 주요 변경 내용:
  • 핵심 비즈니스 로직 개선
This commit is contained in:
2025-10-16 13:18:05 +09:00
parent e93b379c51
commit 65318a820a
5 changed files with 153 additions and 127 deletions

View File

@@ -36,6 +36,9 @@ export const searchReducer = (state = initialState, action) => {
totalCount: updatedTotalCount,
searchPerformed: true,
initPerformed: !action.append,
// 일반 검색 시 ShopperHouse 데이터 초기화
shopperHouseData: null,
shopperHouseSearchId: null,
};
}
@@ -67,6 +70,11 @@ export const searchReducer = (state = initialState, action) => {
...state,
shopperHouseData: resultData,
shopperHouseSearchId: searchId,
// ShopperHouse 검색 시 일반 검색 데이터 초기화
searchDatas: {},
totalCount: {},
searchPerformed: false,
initPerformed: false,
};
}