Closed mbalabanov closed 1 year ago
I think, if you look closely, there is a very small signout thingy...but yeah, it needs building properly...
I added a quick logout to the Heaser component to clear the token from localstorage and navigate to "/".
Currently, the logout button does not do anything. After logging in as a user, I need to be able to logout/logoff by clicking on the "logout" button. We need a route at /logout and the appropriate functional component to logout.