summaryrefslogtreecommitdiff
path: root/src-migrate/modules/product-detail/components/ProductDetail.tsx
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-08-01 01:49:38 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-08-01 01:49:38 +0000
commitf0296b4ef91158ef9c12d4a5b4f17c574352916f (patch)
treeab31341b2be2546e28963b6634747a6dc22e28c5 /src-migrate/modules/product-detail/components/ProductDetail.tsx
parentb0f4055042aa0efbbef1ebafbbb032dc4b67da58 (diff)
parent0abd42f8b528b3166169fef7093d4d8b22f3fb79 (diff)
Merged in Feature/iman-cart-popup (pull request #193)
<iman> add pop up when hit keranjang button
Diffstat (limited to 'src-migrate/modules/product-detail/components/ProductDetail.tsx')
-rw-r--r--src-migrate/modules/product-detail/components/ProductDetail.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-migrate/modules/product-detail/components/ProductDetail.tsx b/src-migrate/modules/product-detail/components/ProductDetail.tsx
index fad35a7d..e4555913 100644
--- a/src-migrate/modules/product-detail/components/ProductDetail.tsx
+++ b/src-migrate/modules/product-detail/components/ProductDetail.tsx
@@ -129,7 +129,7 @@ const ProductDetail = ({ product }: Props) => {
)}
<div className='h-4 md:h-10' />
- {!!activeVariantId && !isApproval && <ProductPromoSection productId={activeVariantId} />}
+ {!!activeVariantId && !isApproval && <ProductPromoSection product={product} productId={activeVariantId} />}
<div className={style['section-card']}>
<h2 className={style['heading']}>