summaryrefslogtreecommitdiff
path: root/src/lib/product/components
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2023-07-14 03:21:10 +0000
committerIT Fixcomart <it@fixcomart.co.id>2023-07-14 03:21:10 +0000
commit3006540fe7178a8b128023ca498613cb3aff0d27 (patch)
tree12f2c9b08008b9f9414b9ec4bfb0014c1d73e093 /src/lib/product/components
parent782aa7d088c85f4cb837926a3f671495d0d1a0c1 (diff)
parentb886fcf2dbc9114bc2e2347e3d4bf5299ed43d3b (diff)
Merged in Feature/voucher (pull request #13)
toggle on off
Diffstat (limited to 'src/lib/product/components')
-rw-r--r--src/lib/product/components/Product/ProductDesktop.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/product/components/Product/ProductDesktop.jsx b/src/lib/product/components/Product/ProductDesktop.jsx
index cafab721..037b8c66 100644
--- a/src/lib/product/components/Product/ProductDesktop.jsx
+++ b/src/lib/product/components/Product/ProductDesktop.jsx
@@ -256,7 +256,7 @@ const ProductDesktop = ({ product, wishlist, toggleWishlist }) => {
</button>
<button
type='button'
- onClick={() => handleBuy(product.variants[0])}
+ onClick={() => handleBuy(product.variants[0].id)}
className='flex-1 py-2 btn-solid-red'
>
Beli