diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-07-31 14:13:10 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-07-31 14:13:10 +0700 |
| commit | 12f581a4c0c4a3316385015622823c9e5935bb05 (patch) | |
| tree | f0f47adabd0533a0c2ea91deafb8707d97ebbef9 /src/lib/home/components | |
| parent | 7cac694f5a78f01e7e8185f7d37b758e9b7dab34 (diff) | |
<iman> update pop up cart
Diffstat (limited to 'src/lib/home/components')
| -rw-r--r-- | src/lib/home/components/CategoryDynamic.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/home/components/CategoryDynamic.jsx b/src/lib/home/components/CategoryDynamic.jsx index 6ab03ec3..dae17c94 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; } } |
