diff options
| author | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-07-10 10:00:33 +0700 |
|---|---|---|
| committer | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-07-10 10:00:33 +0700 |
| commit | 581334e8d077916c3a9ab87fd5b6e6b5126aba12 (patch) | |
| tree | 14b1cdaec367c0b3487f9b232a94030d2cba259f /src/lib/cart/components/Cart.jsx | |
| parent | ead27f576ea73bb4625fea839ee78c4a8db0d4e9 (diff) | |
add auth id
Diffstat (limited to 'src/lib/cart/components/Cart.jsx')
| -rw-r--r-- | src/lib/cart/components/Cart.jsx | 4 |
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) + } }) }) } |
