summaryrefslogtreecommitdiff
path: root/src/lib/cart
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/cart')
-rw-r--r--src/lib/cart/components/Cart.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/cart/components/Cart.jsx b/src/lib/cart/components/Cart.jsx
index 224d02d1..41efffe9 100644
--- a/src/lib/cart/components/Cart.jsx
+++ b/src/lib/cart/components/Cart.jsx
@@ -111,7 +111,9 @@ const Cart = () => {
selected: true
}).then(() => {
getCart().then(() => {
- setPromotionType(false)
+ if(promotionActiveId){
+ setPromotionType(false)
+ }
})
})
}