From baf0447595815be64312ac836e5f8bb403e4dcfc Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Fri, 19 May 2023 16:31:42 +0700
Subject: banner section and product category banner url

---
 src/lib/home/components/CategoryHome.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/home/components/CategoryHome.jsx')

diff --git a/src/lib/home/components/CategoryHome.jsx b/src/lib/home/components/CategoryHome.jsx
index 4566bc4b..5ff8f34e 100644
--- a/src/lib/home/components/CategoryHome.jsx
+++ b/src/lib/home/components/CategoryHome.jsx
@@ -14,7 +14,7 @@ const CategoryHome = ({ id }) => {
             banner: {
               image: categoryHome.data?.[0].image,
               name: categoryHome.data?.[0].name,
-              url: `/shop/search?category=${categoryHome.data?.[0].name}`
+              url: categoryHome.data?.[0].url
             }
           }}
           simpleTitle
-- 
cgit v1.2.3

