From 38c9fbb245aeb315e90f42c281a17257a5eeb122 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 5 Apr 2023 09:46:31 +0700
Subject: forgot and reset password

---
 src/lib/product/components/ProductSearch.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/lib/product/components/ProductSearch.jsx')

diff --git a/src/lib/product/components/ProductSearch.jsx b/src/lib/product/components/ProductSearch.jsx
index 77c75e05..8e68d62d 100644
--- a/src/lib/product/components/ProductSearch.jsx
+++ b/src/lib/product/components/ProductSearch.jsx
@@ -28,12 +28,12 @@ const ProductSearch = ({ query, prefixUrl, defaultBrand = null }) => {
   const productRows = productSearch.data?.responseHeader.params.rows
   const productFound = productSearch.data?.response.numFound 
   
-  const brands = productSearch.data?.facetCounts?.facetFields?.manufactureNameS?.filter((value, index) => {
+  const brands = productSearch.data?.facetCounts?.facetFields?.manufactureName?.filter((value, index) => {
     if (index % 2 === 0) {
       return true
     }
   })
-  const categories = productSearch.data?.facetCounts?.facetFields?.categoryNameS?.filter(
+  const categories = productSearch.data?.facetCounts?.facetFields?.categoryName?.filter(
     (value, index) => {
       if (index % 2 === 0) {
         return true
-- 
cgit v1.2.3

