summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-23 15:23:28 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-23 15:23:28 +0700
commit233f2501a7ad23bedb8d02b7a3e7762632108098 (patch)
treec3d41ca901033564afd6e48781fdd24314c0cfa4 /src
parent44e1ed755b6714fbf76216ef914a8dfc73bef367 (diff)
<iman> update code
Diffstat (limited to 'src')
-rw-r--r--src/pages/index.jsx9
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>