diff options
Diffstat (limited to 'src-migrate/modules/product-detail/components/ProductDetail.tsx')
| -rw-r--r-- | src-migrate/modules/product-detail/components/ProductDetail.tsx | 4 |
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'> |
