From 54fee9815aef710d22c57a928e119c8cbd97912c Mon Sep 17 00:00:00 2001 From: "junghoon86.park" Date: Mon, 5 Feb 2024 12:53:33 +0900 Subject: [PATCH] =?UTF-8?q?[HomePanel]SubCategory=20=EB=B6=80=EB=B6=84=20?= =?UTF-8?q?=ED=8F=AC=EC=BB=A4=EC=8B=B1=20=EC=9D=B4=EC=83=81=EA=B1=B4=20-?= =?UTF-8?q?=20=EC=9D=98=EC=A1=B4=EC=84=B1=EB=B0=B0=EC=97=B4=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/HomePanel/SubCategory/SubCategory.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 06e6812b..fa80c04c 100644 --- a/com.twin.app.shoptime/src/views/HomePanel/SubCategory/SubCategory.jsx +++ b/com.twin.app.shoptime/src/views/HomePanel/SubCategory/SubCategory.jsx @@ -43,7 +43,7 @@ const SubCategory = () => { const initialLgCatCd = categoryInfos[0].lgCatCd; setCurrentLgCatCd(initialLgCatCd); } - }, []); + }, [categoryInfos]); useEffect(() => { if (currentLgCatCd) { @@ -63,7 +63,7 @@ const SubCategory = () => {