Open paulobocanegra opened 1 year ago
Let's add products & cartItems
remove the cart items from the user, we will have a cartItems slice of state, this will hold on cartItems. The items there will belong to the user logged in. We only allow one user to be logged in at the time. The users slice of state we may just need for the reviews. But we may not even need it as we can get the user who made a review through associations.
Sample State
```javascript...```
). This will display the state as a code block instead of a giant line of textentities
session
errors
(here or inui
)ui
(if needed)comments
inside ofposts