Closed nicanthoni closed 2 weeks ago
Add to Cart button should change depending on value of inCart state. If inCart, the button should change to "In Cart ✅" or something, and persist
Working as intended on ProductsMain view. Need to implement on SingleProduct component next.
Completed - implemented on both ProductsMain componenet and SingleProduct component
Similar to the recently implemented useWishlist hook, will do the same to add functionality to the Add to Cart button