From d7c569d183cb8fbfc44c34762af67d4feeb81f11 Mon Sep 17 00:00:00 2001 From: RohithChitrada Date: Wed, 5 Jun 2024 20:57:40 +0530 Subject: [PATCH] kids section --- src/Pages/ShopCategory.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pages/ShopCategory.jsx b/src/Pages/ShopCategory.jsx index c882d01..5806590 100644 --- a/src/Pages/ShopCategory.jsx +++ b/src/Pages/ShopCategory.jsx @@ -13,7 +13,7 @@ const ShopCategory = (props) => { let filteredProducts; if (props.category === 'kids') { - filteredProducts = all_product.filter(item => item.category === 'kids'); + filteredProducts = all_product.filter(item => item.category === 'kid'); } else { filteredProducts = all_product.filter(item => item.category === props.category); while (filteredProducts.length < 76) {