summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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>