[FeaturedBrandsPanel] section에 필요한 component 생성 및 수정사항

Detail Notes :

1. LiveChannel 생성
2. ProductCard 생성
3. App.js, useEffect에서 실행되는 brand에 필요한 logic 이동 → FeaturedBrandsPanel.jsx
This commit is contained in:
younghoon100.park
2024-01-26 17:01:16 +09:00
parent 6cd30530a0
commit 15c2737623
9 changed files with 144 additions and 12 deletions

View File

@@ -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 />;