From 31853dc731c6e4105c9cf9bd373c63e6e989caa4 Mon Sep 17 00:00:00 2001
From: FIN-IT_AndriFP <andrifebriyadiputra@gmail.com>
Date: Tue, 16 Dec 2025 14:35:33 +0700
Subject: (andri) try compare with data

---
 src-migrate/modules/product-detail/components/ProductDetail.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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

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'>
-- 
cgit v1.2.3

