From 4fb570559e293d506819059ce42836562a2fb4d2 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Thu, 15 Aug 2024 14:20:30 +0700
Subject: <iman> update search product using name

---
 src-migrate/modules/product-detail/components/SimilarBottom.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src-migrate/modules/product-detail/components/SimilarBottom.tsx')

diff --git a/src-migrate/modules/product-detail/components/SimilarBottom.tsx b/src-migrate/modules/product-detail/components/SimilarBottom.tsx
index 8ff0a6bf..f2daf664 100644
--- a/src-migrate/modules/product-detail/components/SimilarBottom.tsx
+++ b/src-migrate/modules/product-detail/components/SimilarBottom.tsx
@@ -11,7 +11,7 @@ type Props = {
 const SimilarBottom = ({ product, source }: Props) => {
   const productSimilar = useProductSimilar({
     name: product.name,
-    except: { productId: product.id },
+    except: { productId: product.id, manufactureId: product.manufacture.id },
     source: source
   })
 
-- 
cgit v1.2.3

