Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Cart is empty after page reload #94

Open
tab00 opened this issue Aug 20, 2019 · 0 comments
Open

Cart is empty after page reload #94

tab00 opened this issue Aug 20, 2019 · 0 comments

Comments

@tab00
Copy link

tab00 commented Aug 20, 2019

After adding an item to the cart, then clicking on cart, the item appears as expected. But when you reload the web page in the browser the cart becomes empty.

Also, after adding an item to the cart, the button becomes "REMOVE FROM CART". Then when that web page is reloaded, the same button reverts to "ADD TO CART".

JEStaubach added a commit to JEStaubach/fullstack-tutorial that referenced this issue Oct 2, 2019
Saved cart items to local storage for persistence.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant