PW
Size: a a a
V
PW
PW
NS
T
A
NS
XX

А
А
S
А
A
const increaseCart = (product) =>{
const shallowCopyOfCart = [...cart];
const found = shallowCopyOfCart.find(item=>{
return item.id === product.id
})
if(found && found.count === 1){
found.count = found.count + 1;
}
setCart(shallowCopyOfCart)
}A
AS
I
MK