From 6e5766739b0684919c8630580403ed279cc3a71e Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Wed, 31 Jul 2024 14:14:27 +0700
Subject: <iman> back log

---
 src/lib/home/components/CategoryDynamic.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/home/components/CategoryDynamic.jsx')

diff --git a/src/lib/home/components/CategoryDynamic.jsx b/src/lib/home/components/CategoryDynamic.jsx
index dae17c94..6ab03ec3 100644
--- a/src/lib/home/components/CategoryDynamic.jsx
+++ b/src/lib/home/components/CategoryDynamic.jsx
@@ -25,7 +25,7 @@ const CategoryDynamic = () => {
           
           
           // Calculate level 2 products for each sub-category
-          for (const subCategory of countLevel1?.children) {
+          for (const subCategory of countLevel1.children) {
             updatedSubCategoryData[subCategory.id] = subCategory.numFound;
           }
         }
-- 
cgit v1.2.3

