MainSlice적용
getSubCategory작업 관련하여 적용 및 오타수정.
This commit is contained in:
@@ -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 />;
|
||||
|
||||
Reference in New Issue
Block a user