From 76956dfa356fc66368cfd663b90aae3c4a94b85c Mon Sep 17 00:00:00 2001 From: "junghoon86.park" Date: Thu, 1 Feb 2024 15:15:46 +0900 Subject: [PATCH] =?UTF-8?q?[HomePanel]=20=ED=95=84=EC=9A=94=EC=97=86?= =?UTF-8?q?=EB=8A=94=20=EC=BD=94=EB=93=9C=20=EC=82=AD=EC=A0=9C=20=EB=B0=8F?= =?UTF-8?q?=20=EB=B3=80=EA=B2=BD=20-=20subcategory=20=ED=95=84=EC=9A=94?= =?UTF-8?q?=EC=97=86=EB=8A=94=20=EC=BD=94=EB=93=9C=20=EC=A0=9C=EA=B1=B0.?= =?UTF-8?q?=20-=20popularshow=EB=B6=80=EB=B6=84=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/HomePanel/PopularShow/PopularShow.jsx | 2 +- .../src/views/HomePanel/SubCategory/SubCategory.jsx | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/com.twin.app.shoptime/src/views/HomePanel/PopularShow/PopularShow.jsx b/com.twin.app.shoptime/src/views/HomePanel/PopularShow/PopularShow.jsx index af840ab2..b599e823 100644 --- a/com.twin.app.shoptime/src/views/HomePanel/PopularShow/PopularShow.jsx +++ b/com.twin.app.shoptime/src/views/HomePanel/PopularShow/PopularShow.jsx @@ -12,7 +12,7 @@ import css from "../PopularShow/PopularShow.module.less"; const Container = SpotlightContainerDecorator( { enterTo: "last-focused" }, - "section" + "div" ); const SpottableComponent = Spottable("li"); diff --git a/com.twin.app.shoptime/src/views/HomePanel/SubCategory/SubCategory.jsx b/com.twin.app.shoptime/src/views/HomePanel/SubCategory/SubCategory.jsx index 2ac8cef3..06e6812b 100644 --- a/com.twin.app.shoptime/src/views/HomePanel/SubCategory/SubCategory.jsx +++ b/com.twin.app.shoptime/src/views/HomePanel/SubCategory/SubCategory.jsx @@ -19,7 +19,6 @@ const Container = SpotlightContainerDecorator( "div" ); -const SpottableComponent = Spottable("li"); const SubCategory = () => { const dispatch = useDispatch(); @@ -29,7 +28,6 @@ const SubCategory = () => { const subCategoryData = useSelector( (state) => state.main.subCategoryData.categoryItemInfos ); - const testchk = useSelector((state) => state); const [currentLgCatCd, setCurrentLgCatCd] = useState(); const handleCategoryNav = (lgCatCd) => { @@ -45,20 +43,10 @@ const SubCategory = () => { const initialLgCatCd = categoryInfos[0].lgCatCd; setCurrentLgCatCd(initialLgCatCd); } - getSubCategory({ - lgCatCd: currentLgCatCd, - patnrIdList: null, - pageSize: null, - tabType: "CAT00102", - filterType: "CAT00202", - }); }, []); useEffect(() => { if (currentLgCatCd) { - dispatch( - getOnSaleInfo({ categoryIncFlag: "Y", lgCatCd: currentLgCatCd }) - ); dispatch( getSubCategory({ lgCatCd: currentLgCatCd, @@ -79,7 +67,6 @@ const SubCategory = () => { onCategoryNavClick={handleCategoryNav} type="home" /> - {subCategoryData && subCategoryData.slice(0, 9).map((item) => {