mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 22:16:58 +00:00
hide cart quantity when cart is open
This commit is contained in:
parent
65bd26b090
commit
b40a52732a
@ -81,7 +81,7 @@ export default function CartModal({ cart, cartIdUpdated }: { cart: Cart; cartIdU
|
|||||||
<p className="text-lg font-semibold">My Cart</p>
|
<p className="text-lg font-semibold">My Cart</p>
|
||||||
|
|
||||||
<button aria-label="Close cart" onClick={closeCart} data-testid="close-cart">
|
<button aria-label="Close cart" onClick={closeCart} data-testid="close-cart">
|
||||||
<CartIcon quantity={cart.totalQuantity} icon="close" />
|
<CartIcon icon="close" />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user