diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-08-01 10:11:19 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2024-08-01 10:11:19 +0000 |
| commit | 85355d38fd1c6d4b9fd5c45c3410088bfbe47d01 (patch) | |
| tree | c474462b00147dd43fef2a06d286ca0037c52d02 /src-migrate/modules/product-promo/components | |
| parent | 1e9d88a37fc5d60719d363f60876226160665a15 (diff) | |
| parent | 3542d65853072df17355f47a6abc3622375807ab (diff) | |
Merged in Feature/iman-cart-popup (pull request #201)
<iman> update setRefresh cart
Diffstat (limited to 'src-migrate/modules/product-promo/components')
| -rw-r--r-- | src-migrate/modules/product-promo/components/AddToCart.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-migrate/modules/product-promo/components/AddToCart.tsx b/src-migrate/modules/product-promo/components/AddToCart.tsx index aae5cfc0..f066a4c8 100644 --- a/src-migrate/modules/product-promo/components/AddToCart.tsx +++ b/src-migrate/modules/product-promo/components/AddToCart.tsx @@ -58,8 +58,8 @@ const ProductPromoAddToCart = ({product, promotion }: Props) => { qtyAppend: true }) setStatus('idle') - setAddCartAlert(true); setRefreshCart(true); + setAddCartAlert(true); toast({ title: 'Tambah ke keranjang', description: 'Berhasil menambahkan barang ke keranjang belanja', |
