summaryrefslogtreecommitdiff
path: root/src-migrate/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src-migrate/modules')
-rw-r--r--src-migrate/modules/product-detail/components/SimilarBottom.tsx2
-rw-r--r--src-migrate/modules/product-detail/components/SimilarSide.tsx2
2 files changed, 2 insertions, 2 deletions
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
})
diff --git a/src-migrate/modules/product-detail/components/SimilarSide.tsx b/src-migrate/modules/product-detail/components/SimilarSide.tsx
index d70a314d..2ba8fa21 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, manufactureId: product.manufacture.id },
+ except: { productId: product.id },
})
const products = productSimilar.data?.products || []