summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
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;
}
}