fix: first product add

This commit is contained in:
Vlad Stan 2023-07-07 10:55:34 +03:00
parent 14bb0ff6e6
commit b41e499591

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)
}