[251022] fix: VoiceDebugDashboard Persistent

🕐 커밋 시간: 2025. 10. 22. 15:57:11

📊 변경 통계:
  • 총 파일: 3개
  • 추가: +168줄
  • 삭제: -90줄

📝 수정된 파일:
  ~ com.twin.app.shoptime/src/reducers/searchReducer.js
  ~ 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/VoiceInputOverlay/VoiceInputOverlay.jsx (javascript):
    🔄 Modified: clearAllTimers()

🔧 주요 변경 내용:
  • 핵심 비즈니스 로직 개선
This commit is contained in:
2025-10-22 15:57:12 +09:00
parent 8a2704265f
commit 466d2b7440
3 changed files with 174 additions and 90 deletions

View File

@@ -120,11 +120,12 @@ export const searchReducer = (state = initialState, action) => {
};
case types.CLEAR_SHOPPERHOUSE_DATA:
console.log('[VoiceInput] 🧹 Redux shopperHouseData 초기화 (searchId 리셋)');
console.log('[VoiceInput] 🧹 Redux shopperHouseData 초기화 (searchId는 유지)');
return {
...state,
shopperHouseData: null,
shopperHouseSearchId: null,
// ✅ searchId는 2번째 발화에서 필요하므로 유지!
// shopperHouseSearchId: null, // ❌ 제거됨 - searchId를 유지해야 2차 발화에서 searchId 포함 가능
shopperHouseError: null, // 데이터 초기화 시 오류도 초기화
};