Closed varsha84 closed 2 years ago
✔️ Deploy Preview for class18-fp-storybook ready!
🔨 Explore the source changes: 7d0b2fc780851196175376c65b118d17343b1180
🔍 Inspect the deploy log: https://app.netlify.com/sites/class18-fp-storybook/deploys/61ad3a9d8869b60007148464
😎 Browse the preview: https://deploy-preview-225--class18-fp-storybook.netlify.app
Description
This PR is to use auth in cart page using firebase. Since base on shopping cart context functionality implemented by Yones, it is clear now that shopping cart will use the local storage for storing the cart items. hence a user without login can also add the item in his shopping cart with creating any database entry (in order table).
I will update the shopping cart functionality in another PR ( getting shopping cart item from localStorage)
Fixes #226
How to test?
npm run dev go to cart page localhost/cart/4
Checklist