Open mdbailin opened 1 year ago
I have added a logout button in Navbar.jsx that conditionally renders if a user is logged in. The button users the LogOut reducer to mutate the user state and goes back to the home page.
I have added a logout button in Navbar.jsx that conditionally renders if a user is logged in. The button users the LogOut reducer to mutate the user state and goes back to the home page.