summaryrefslogtreecommitdiff
path: root/src/pages/index.jsx
diff options
context:
space:
mode:
authortrisusilo <tri.susilo@altama.co.id>2024-09-12 03:19:01 +0000
committertrisusilo <tri.susilo@altama.co.id>2024-09-12 03:19:01 +0000
commit375365d46144e6f20bf7d4ffee1f52e6400cf214 (patch)
tree7c5ebb2547716782301fce7d27d2cf478755d2b8 /src/pages/index.jsx
parent46faf7e7ba398a4137e93559b2efa5abf3df9663 (diff)
parent3918b401286243a6ceb376d267b802b87f1b1a2f (diff)
Merged in CR/search_enggine (pull request #308)
CR/search enggine
Diffstat (limited to 'src/pages/index.jsx')
-rw-r--r--src/pages/index.jsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pages/index.jsx b/src/pages/index.jsx
index 613950a6..0e87205e 100644
--- a/src/pages/index.jsx
+++ b/src/pages/index.jsx
@@ -10,7 +10,7 @@ import { FlashSaleSkeleton } from '@/lib/flashSale/skeleton/FlashSaleSkeleton';
import PreferredBrandSkeleton from '@/lib/home/components/Skeleton/PreferredBrandSkeleton';
import BannerPromoSkeleton from '@/lib/home/components/Skeleton/BannerPromoSkeleton';
import PromotinProgram from '@/lib/promotinProgram/components/HomePage';
-import PagePopupIformation from '~/modules/popup-information';
+import PagePopupIformation from '~/modules/popup-information'; // need change to dynamic and ssr : false
import CategoryPilihan from '../lib/home/components/CategoryPilihan';
import odooApi from '@/core/api/odooApi';
import { getAuth } from '~/libs/auth';
@@ -56,7 +56,7 @@ const ProgramPromotion = dynamic(() =>
const BannerSection = dynamic(() =>
import('@/lib/home/components/BannerSection')
-);
+);
const CategoryHomeId = dynamic(() =>
import('@/lib/home/components/CategoryHomeId')
);
@@ -71,8 +71,8 @@ import('@/lib/home/components/CategoryDynamicMobile')
const CustomerReviews = dynamic(() =>
import('@/lib/review/components/CustomerReviews')
-);
-const ServiceList = dynamic(() => import('@/lib/home/components/ServiceList'));
+); // need to ssr:false
+const ServiceList = dynamic(() => import('@/lib/home/components/ServiceList')); // need to ssr: false