fix: first product add

This commit is contained in:
Vlad Stan 2023-07-07 10:55:34 +03:00
parent 9d4c5c7251
commit e9c3cc36a9

View file

@ -585,7 +585,7 @@ const market = async () => {
let product = stallCart.products.find(p => p.id === item.id)
if (!product) {
product = { ...item, orderedQuantity: 1 }
product = { ...item, orderedQuantity: 0 }
stallCart.products.push(product)
}