summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-31 14:14:27 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-31 14:14:27 +0700
commit6e5766739b0684919c8630580403ed279cc3a71e (patch)
treed0c4c93b3304d07ada642633d2938aa5292a63fb /src/lib
parent12f581a4c0c4a3316385015622823c9e5935bb05 (diff)
<iman> back log
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/home/components/CategoryDynamic.jsx2
1 files changed, 1 insertions, 1 deletions
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;
}
}