From 0550b0dbe9b8e369cfe211b78ab0de49a6e1f49d Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Tue, 30 Jan 2024 15:54:28 +0700
Subject: Add except product similar

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

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

diff --git a/src-migrate/modules/product-detail/components/SimilarSide.tsx b/src-migrate/modules/product-detail/components/SimilarSide.tsx
index 2ba8fa21..d70a314d 100644
--- a/src-migrate/modules/product-detail/components/SimilarSide.tsx
+++ b/src-migrate/modules/product-detail/components/SimilarSide.tsx
@@ -11,7 +11,7 @@ type Props = {
 const SimilarSide = ({ product }: Props) => {
   const productSimilar = useProductSimilar({
     name: product.name,
-    except: { productId: product.id },
+    except: { productId: product.id, manufactureId: product.manufacture.id },
   })
 
   const products = productSimilar.data?.products || []
-- 
cgit v1.2.3

