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-detail/components | |
| parent | 42829a0907590139ecf4328a7a9ff9f6504a9113 (diff) | |
<iman> update setRefresh cart
Diffstat (limited to 'src-migrate/modules/product-detail/components')
| -rw-r--r-- | src-migrate/modules/product-detail/components/AddToCart.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-migrate/modules/product-detail/components/AddToCart.tsx b/src-migrate/modules/product-detail/components/AddToCart.tsx index 644d5b90..0ac8229e 100644 --- a/src-migrate/modules/product-detail/components/AddToCart.tsx +++ b/src-migrate/modules/product-detail/components/AddToCart.tsx @@ -55,8 +55,8 @@ const AddToCart = ({ isNaN(quantity) || typeof auth !== 'object' ) return; - setAddCartAlert(true); setRefreshCart(true); + setAddCartAlert(true); toast.promise( upsertUserCart({ userId: auth.id, |
