summaryrefslogtreecommitdiff
path: root/src/pages/index.jsx
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2024-09-24 09:33:10 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2024-09-24 09:33:10 +0700
commitd4cb977d050a54b9daa1658b6de6e82878ca4c9b (patch)
treec58569a165721c6e60aad9c1ed9fcf8f8525b6b0 /src/pages/index.jsx
parent1475593324319d1faf377f2d00a22a4b3caa3faa (diff)
parentcf42512eb11b1a96c99ced8d1f867aeb8c2dcbc1 (diff)
Merge branch 'release' into CR/product_detail
Diffstat (limited to 'src/pages/index.jsx')
-rw-r--r--src/pages/index.jsx20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/pages/index.jsx b/src/pages/index.jsx
index 0e87205e..6077c192 100644
--- a/src/pages/index.jsx
+++ b/src/pages/index.jsx
@@ -18,7 +18,7 @@ import { getAuth } from '~/libs/auth';
import useProductDetail from '~/modules/product-detail/stores/useProductDetail';
const BasicLayout = dynamic(() =>
- import('@/core/components/layouts/BasicLayout')
+ import('@/core/components/layouts/BasicLayout'),{ssr: false}
);
const HeroBanner = dynamic(() => import('@/components/ui/HeroBanner'), {
loading: () => <HeroBannerSkeleton />,
@@ -55,24 +55,24 @@ const ProgramPromotion = dynamic(() =>
);
const BannerSection = dynamic(() =>
- import('@/lib/home/components/BannerSection')
+ import('@/lib/home/components/BannerSection'), {ssr: false}
);
const CategoryHomeId = dynamic(() =>
- import('@/lib/home/components/CategoryHomeId')
+ import('@/lib/home/components/CategoryHomeId'), {ssr: false}
);
const CategoryDynamic = dynamic(() =>
- import('@/lib/home/components/CategoryDynamic')
+ import('@/lib/home/components/CategoryDynamic'), {ssr: false}
);
const CategoryDynamicMobile = dynamic(() =>
-import('@/lib/home/components/CategoryDynamicMobile')
+import('@/lib/home/components/CategoryDynamicMobile'), {ssr: false}
);
const CustomerReviews = dynamic(() =>
- import('@/lib/review/components/CustomerReviews')
+ import('@/lib/review/components/CustomerReviews'), {ssr: false}
); // need to ssr:false
-const ServiceList = dynamic(() => import('@/lib/home/components/ServiceList')); // need to ssr: false
+const ServiceList = dynamic(() => import('@/lib/home/components/ServiceList'), {ssr: false}); // need to ssr: false
@@ -148,11 +148,11 @@ export default function Home({categoryId}) {
</DelayRender>
</>
)}
- <PromotinProgram />
+ {/* <PromotinProgram /> */}
{dataCategories &&(
<CategoryPilihan categories={dataCategories} />
)}
- <CategoryDynamic />
+ <CategoryDynamic />
<CategoryHomeId />
<BannerSection />
<CustomerReviews />
@@ -183,7 +183,7 @@ export default function Home({categoryId}) {
</>
)}
<DelayRender renderAfter={600}>
- <PromotinProgram />
+ {/* <PromotinProgram /> */}
</DelayRender>
<DelayRender renderAfter={600}>
{dataCategories &&(