summaryrefslogtreecommitdiff
path: root/src-migrate/modules/product-detail/components/ProductDetail.tsx
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <andrifebriyadiputra@gmail.com>2025-12-16 14:35:33 +0700
committerFIN-IT_AndriFP <andrifebriyadiputra@gmail.com>2025-12-16 14:35:33 +0700
commit31853dc731c6e4105c9cf9bd373c63e6e989caa4 (patch)
tree9d8ae27723cdc4d29c231f2456f9bd26966ca5a0 /src-migrate/modules/product-detail/components/ProductDetail.tsx
parent13b30c5da917264cb63f41d058f2dc66f28affcc (diff)
(andri) try compare with data
Diffstat (limited to 'src-migrate/modules/product-detail/components/ProductDetail.tsx')
-rw-r--r--src-migrate/modules/product-detail/components/ProductDetail.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src-migrate/modules/product-detail/components/ProductDetail.tsx b/src-migrate/modules/product-detail/components/ProductDetail.tsx
index 0f851560..58276f3c 100644
--- a/src-migrate/modules/product-detail/components/ProductDetail.tsx
+++ b/src-migrate/modules/product-detail/components/ProductDetail.tsx
@@ -334,7 +334,9 @@ const ProductDetail = ({ product }: Props) => {
{/* Render di luar layout utama agar tidak tertutup elemen lain */}
<ProductComparisonModal
isOpen={isCompareOpen}
- onClose={() => setCompareOpen(false)}
+ onClose={() => setCompareOpen(false)}
+ mainProduct={product}
+ selectedVariant={selectedVariant}
/>
<div className='relative'>