Closed gregleeper closed 5 years ago
I've noticed that when a user clicks the Add To Cart button and then clicks again before the item is done adding it erases the contents of the cart and nothing gets added. This is noticeable on slower connection speeds.
` <button className="btn btn-primary" type="submit" disabled={!available || context.adding} onClick={handleAddToCart}
Add to Cart `
Thanks for the suggestion, I‘ll implement it.
👍Thanks for the awesome starter! You saved me a ton of time.
I've noticed that when a user clicks the Add To Cart button and then clicks again before the item is done adding it erases the contents of the cart and nothing gets added. This is noticeable on slower connection speeds.
` <button className="btn btn-primary" type="submit" disabled={!available || context.adding} onClick={handleAddToCart}