MainSlice적용

getSubCategory작업 관련하여 적용 및 오타수정.
This commit is contained in:
junghoon86.park
2024-01-29 09:52:46 +09:00
parent fa4798dd3e
commit e173f9f32f
4 changed files with 15 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ import { getAuthenticationCode } from "../features/device/deviceSlice";
import { getHomeMenu } from "../features/home/homeSlice";
import { getMyRecommandedKeyword } from "../features/mypage/myPageSlice";
import { getOnSaleInfo } from "../features/onSale/onSaleSlice";
import { getSubCategory } from "../features/main/mainSlice";
import MainView from "../views/MainView/MainView";
import css from "./App.module.less";
@@ -21,6 +22,15 @@ function AppBase(props) {
dispatch(getOnSaleInfo({ categoryIncFlag: "Y", lgCatCd: "" }));
dispatch(getBrandList());
dispatch(getMyRecommandedKeyword());
dispatch(
getSubCategory({
lgCatCd: "1000",
patnrIdList: "",
pageSize: "",
tabType: "",
filterType: "",
})
);
}, [dispatch]);
return <MainView />;