[FeaturedBrandsPanel] section에 필요한 component 생성 및 수정사항
Detail Notes : 1. LiveChannel 생성 2. ProductCard 생성 3. App.js, useEffect에서 실행되는 brand에 필요한 logic 이동 → FeaturedBrandsPanel.jsx
This commit is contained in:
@@ -4,11 +4,7 @@ import { useDispatch } from "react-redux";
|
||||
|
||||
import ThemeDecorator from "@enact/sandstone/ThemeDecorator";
|
||||
|
||||
import {
|
||||
getBrandLayoutInfo,
|
||||
getBrandList,
|
||||
getBrandLiveChannelInfo,
|
||||
} from "../features/brand/brandsSlice";
|
||||
import { getBrandList } from "../features/brand/brandsSlice";
|
||||
import { getAuthenticationCode } from "../features/device/deviceSlice";
|
||||
import { getHomeMenu } from "../features/home/homeSlice";
|
||||
import { getMyRecommandedKeyword } from "../features/mypage/myPageSlice";
|
||||
@@ -25,10 +21,6 @@ function AppBase(props) {
|
||||
dispatch(getOnSaleInfo({ categoryIncFlag: "Y", lgCatCd: "" }));
|
||||
dispatch(getBrandList());
|
||||
dispatch(getMyRecommandedKeyword());
|
||||
|
||||
// @@pyh Todo, patnrId를 GNB에서 받는 로직이 만들어진 뒤 FeaturedBrandsPanel로 이동
|
||||
dispatch(getBrandLayoutInfo({ patnrId: "1" }));
|
||||
dispatch(getBrandLiveChannelInfo({ patnrId: "1" }));
|
||||
}, [dispatch]);
|
||||
|
||||
return <MainView />;
|
||||
|
||||
Reference in New Issue
Block a user