final commit before execution
This commit is contained in:
@@ -54,6 +54,7 @@ const useCartStore = create(
|
||||
set({cartItems: [...get().cartItems]})
|
||||
}
|
||||
},
|
||||
|
||||
decreaseQuantity: productId => {
|
||||
const itemExists = get().cartItems.find(
|
||||
cartItem => cartItem.id === productId
|
||||
|
||||
Reference in New Issue
Block a user