summaryrefslogtreecommitdiff
path: root/src-migrate/modules/product-detail/components
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-08-01 10:11:19 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-08-01 10:11:19 +0000
commit85355d38fd1c6d4b9fd5c45c3410088bfbe47d01 (patch)
treec474462b00147dd43fef2a06d286ca0037c52d02 /src-migrate/modules/product-detail/components
parent1e9d88a37fc5d60719d363f60876226160665a15 (diff)
parent3542d65853072df17355f47a6abc3622375807ab (diff)
Merged in Feature/iman-cart-popup (pull request #201)
<iman> update setRefresh cart
Diffstat (limited to 'src-migrate/modules/product-detail/components')
-rw-r--r--src-migrate/modules/product-detail/components/AddToCart.tsx2
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,