summaryrefslogtreecommitdiff
path: root/src-migrate/modules/product-detail/components/AddToCart.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src-migrate/modules/product-detail/components/AddToCart.tsx')
-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,