diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-01 17:10:17 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-01 17:10:17 +0700 |
| commit | 3542d65853072df17355f47a6abc3622375807ab (patch) | |
| tree | 471b33eb89de6e8c1785746f89a3dc48d1c908d8 /src-migrate/modules/product-promo/components/AddToCart.tsx | |
| parent | 42829a0907590139ecf4328a7a9ff9f6504a9113 (diff) | |
<iman> update setRefresh cart
Diffstat (limited to 'src-migrate/modules/product-promo/components/AddToCart.tsx')
| -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', |
