Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
2 replies
fdawg

Zustand help

I have this code, it is a cart system. It works fine but The problem I have is that when updating an item with the same properties as existign item it makes another item instead of just updating quantity, works as it should with addItem but when i apply the same logic to updateItem it does not work
Was this page helpful?