Closed japaroooo closed 2 months ago
Cart is not getting its default value after emptying. Anyone also encounter it? If not, I need your help
It's seems weird since it's working now after changing if (!cart) into if (cart.length < 1)... Isn't an empty array !cart is faulty also 🤔
if (!cart)
if (cart.length < 1)
!cart
Cart is not getting its default value after emptying. Anyone also encounter it? If not, I need your help