[OnSalePanel] dispatch 로직 수정

Detail Notes :

1. getOnSaleInfo가 App.js 이동하면서 불필요한 로직 삭제
This commit is contained in:
younghoon100.park
2024-02-06 14:39:35 +09:00
parent 4648c5db56
commit 5110ad9049

View File

@@ -45,8 +45,6 @@ export default function OnSalePanel() {
dispatch(
getOnSaleInfo({ categoryIncFlag: "Y", lgCatCd: currentCategoryCode })
);
} else {
dispatch(getOnSaleInfo({ categoryIncFlag: "Y", lgCatCd: "" }));
}
}, [currentCategoryCode, dispatch]);