Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant