[mainSlice] 홈화면 popular show 연결을 위한 api

This commit is contained in:
junghoon86.park
2024-01-29 13:41:24 +09:00
parent 47b465d182
commit e39e8230d0
3 changed files with 41 additions and 3 deletions

View File

@@ -6,10 +6,14 @@ import ThemeDecorator from "@enact/sandstone/ThemeDecorator";
import { getBrandList } from "../features/brand/brandsSlice";
import { getAuthenticationCode } from "../features/device/deviceSlice";
import { getHomeMenu, getHomeLayout, getHomeMainContents } from "../features/home/homeSlice";
import {
getHomeMenu,
getHomeLayout,
getHomeMainContents,
} from "../features/home/homeSlice";
import { getMyRecommandedKeyword } from "../features/mypage/myPageSlice";
import { getOnSaleInfo } from "../features/onSale/onSaleSlice";
import { getSubCategory } from "../features/main/mainSlice";
import { getSubCategory, getTop20Show } from "../features/main/mainSlice";
import { getBestSeller } from "../features/product/productSlice";
import MainView from "../views/MainView/MainView";
import css from "./App.module.less";
@@ -35,6 +39,7 @@ function AppBase(props) {
filterType: "",
})
);
dispatch(getTop20Show());
}, [dispatch]);
return <MainView />;