summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-23 14:40:23 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-23 14:40:23 +0700
commit2fbfdb7a3d090b0ad8dae5527464b25e5df65c25 (patch)
tree5ad5413742ed42760a58463106d7f7ec0190b77c
parent7f777f35e20b302613c1b7f10146d84c2313a3c0 (diff)
Merge branch 'Feature/category-management' into development
# Conflicts: # src/lib/home/components/CategoryDynamic.jsx # src/lib/home/components/CategoryPilihan.jsx # src/lib/home/components/PreferredBrand.jsx # src/lib/product/components/CategorySection.jsx # src/pages/index.jsx
-rw-r--r--src/pages/index.jsx16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/pages/index.jsx b/src/pages/index.jsx
index db868470..0f2add9a 100644
--- a/src/pages/index.jsx
+++ b/src/pages/index.jsx
@@ -64,13 +64,13 @@ const CategoryHomeId = dynamic(() =>
import('@/lib/home/components/CategoryHomeId')
);
-const CategoryDynamic = dynamic(() =>
- import('@/lib/home/components/CategoryDynamic')
-);
+// const CategoryDynamic = dynamic(() =>
+// import('@/lib/home/components/CategoryDynamic')
+// );
-const CategoryDynamicMobile = dynamic(() =>
- import('@/lib/home/components/CategoryDynamicMobile')
-);
+// const CategoryDynamicMobile = dynamic(() =>
+// import('@/lib/home/components/CategoryDynamicMobile')
+// );
const CategoryDynamic = dynamic(() =>
@@ -86,7 +86,7 @@ const CustomerReviews = dynamic(() =>
);
const ServiceList = dynamic(() => import('@/lib/home/components/ServiceList'));
-export default function Home({categoryId}) {
+
export default function Home({categoryId}) {
const bannerRef = useRef(null);
const wrapperRef = useRef(null);
@@ -98,7 +98,7 @@ export default function Home({categoryId}) {
bannerRef.current?.querySelector(':first-child')?.clientHeight + 'px';
};
- const [dataCategories, setDataCategories] = useState([])
+ // const [dataCategories, setDataCategories] = useState([])
useEffect(() => {
const loadCategories = async () => {