diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-07-23 15:23:28 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-07-23 15:23:28 +0700 |
| commit | 233f2501a7ad23bedb8d02b7a3e7762632108098 (patch) | |
| tree | c3d41ca901033564afd6e48781fdd24314c0cfa4 /src | |
| parent | 44e1ed755b6714fbf76216ef914a8dfc73bef367 (diff) | |
<iman> update code
Diffstat (limited to 'src')
| -rw-r--r-- | src/pages/index.jsx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/pages/index.jsx b/src/pages/index.jsx index ad654922..0b2b6046 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -93,8 +93,6 @@ export default function Home({categoryId}) { const [dataCategories, setDataCategories] = useState([]) - const [dataCategories, setDataCategories] = useState([]) - return ( <BasicLayout> <Seo @@ -145,12 +143,11 @@ export default function Home({categoryId}) { <PromotinProgram /> <CategoryPilihan categories={dataCategories}/> <CategoryDynamic/> - <CategoryPilihan categories={dataCategories}/> - <CategoryDynamic/> <CategoryHomeId /> <BannerSection /> <CustomerReviews /> </div> + </div> </div> </DesktopView> @@ -184,10 +181,6 @@ export default function Home({categoryId}) { <CategoryPilihan categories={dataCategories}/> <CategoryDynamicMobile/> </DelayRender> - <DelayRender renderAfter={600}> - <CategoryPilihan categories={dataCategories}/> - <CategoryDynamicMobile/> - </DelayRender> <DelayRender renderAfter={800}> <PopularProduct /> </DelayRender> |
