Logout doesn't redirect you
On logout click, the app just stays in place, simply removing the token.
Could make sense to have a redirectTo
prop on the NavbarUser
component?
On logout click, the app just stays in place, simply removing the token.
Could make sense to have a redirectTo
prop on the NavbarUser
component?