summaryrefslogtreecommitdiff
path: root/src-migrate/modules/product-promo/components/Card.tsx
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-09-02 10:54:00 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-09-02 10:54:00 +0700
commit702b5d9b6e215ad812fadaff3325e1e6164d3b24 (patch)
treedfcd471df00e29ac06a839998c50df1c221fb052 /src-migrate/modules/product-promo/components/Card.tsx
parenta2221f7b66f259cddc83ae95c159b30d7e5612ce (diff)
<iman> update pop up tambah keranjang
Diffstat (limited to 'src-migrate/modules/product-promo/components/Card.tsx')
-rw-r--r--src-migrate/modules/product-promo/components/Card.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-migrate/modules/product-promo/components/Card.tsx b/src-migrate/modules/product-promo/components/Card.tsx
index 5c323276..b8abe5ec 100644
--- a/src-migrate/modules/product-promo/components/Card.tsx
+++ b/src-migrate/modules/product-promo/components/Card.tsx
@@ -132,7 +132,7 @@ const ProductPromoCard = ({product, promotion}: Props) => {
</div>
<div>
- <ProductPromoAddToCart product={product} promotion={promotion} />
+ <ProductPromoAddToCart product={product} promotion={promotion} variant={products[0]} />
</div>
</div>
@@ -189,7 +189,7 @@ const ProductPromoCard = ({product, promotion}: Props) => {
</div>
</div>
<div>
- <ProductPromoAddToCart product={product} promotion={promotion} />
+ <ProductPromoAddToCart product={product} promotion={promotion} variant={products[0]}/>
</div>
</div>