clear localstorage on sign out

This commit is contained in:
reesporte 2022-01-14 13:02:01 -06:00
parent b2afe7ad3b
commit 68c6bffa2c

View file

@ -7,6 +7,7 @@ interface Props {
const SignOutButton: React.FC<Props> = ({ children }) => {
const signoutOnClick = (e) => {
localStorage.clear();
window.location.href = '/logout';
};