summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-23 14:45:17 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-23 14:45:17 +0700
commitca30fe957369a16f6833d6a3bd37df74182b2911 (patch)
tree6466e9d6e15334c9fd9ed2170b9d56b15d3e126a /src
parent2fbfdb7a3d090b0ad8dae5527464b25e5df65c25 (diff)
<iman> update error code
Diffstat (limited to 'src')
-rw-r--r--src/pages/index.jsx18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/pages/index.jsx b/src/pages/index.jsx
index 0f2add9a..c720547e 100644
--- a/src/pages/index.jsx
+++ b/src/pages/index.jsx
@@ -1,7 +1,5 @@
import dynamic from 'next/dynamic';
import { useEffect, useRef, useState } from 'react';
-import { useEffect, useRef, useState } from 'react';
-
import { HeroBannerSkeleton } from '@/components/skeleton/BannerSkeleton';
import { PopularProductSkeleton } from '@/components/skeleton/PopularProductSkeleton';
import Seo from '@/core/components/Seo';
@@ -13,15 +11,8 @@ import PreferredBrandSkeleton from '@/lib/home/components/Skeleton/PreferredBran
import PromotinProgram from '@/lib/promotinProgram/components/HomePage';
import PagePopupIformation from '~/modules/popup-information';
import CategoryPilihan from '../lib/home/components/CategoryPilihan';
-// import CategoryDynamic from '../lib/home/components/CategoryDynamic';
import odooApi from '@/core/api/odooApi';
-import { getIdFromSlug } from '@/core/utils/slug'
-import useProductDetail from '~/modules/product-detail/stores/useProductDetail';
import { getAuth } from '~/libs/auth';
-import CategoryPilihan from '../lib/home/components/CategoryPilihan';
-// import CategoryDynamic from '../lib/home/components/CategoryDynamic';
-import odooApi from '@/core/api/odooApi';
-import { getIdFromSlug } from '@/core/utils/slug'
const BasicLayout = dynamic(() =>
import('@/core/components/layouts/BasicLayout')
@@ -64,15 +55,6 @@ const CategoryHomeId = dynamic(() =>
import('@/lib/home/components/CategoryHomeId')
);
-// const CategoryDynamic = dynamic(() =>
-// import('@/lib/home/components/CategoryDynamic')
-// );
-
-// const CategoryDynamicMobile = dynamic(() =>
-// import('@/lib/home/components/CategoryDynamicMobile')
-// );
-
-
const CategoryDynamic = dynamic(() =>
import('@/lib/home/components/CategoryDynamic')
);