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 = () => {