[DetailPanel] themeyype redux cleanup code

This commit is contained in:
고동영
2024-04-22 20:01:20 +09:00
parent 43797aba94
commit 09b6dbd245
2 changed files with 1 additions and 2 deletions

View File

@@ -107,7 +107,6 @@ export const homeReducer = (state = initialState, action) => {
case types.CLEAR_THEME_DETAIL: {
return {
...state,
themeCurationInfoData: null,
themeCurationHotelDetailData: null,
themeCurationDetailInfoData: null,
productData: null,

View File

@@ -100,7 +100,7 @@ export default function DetailPanel() {
useEffect(() => {
return () => {
dispatch(clearProductDetail());
// dispatch(clearThemeDetail());
dispatch(clearThemeDetail());
};
}, [dispatch]);