mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-09 14:41:02 +00:00
clear localstorage on sign out
This commit is contained in:
parent
b2afe7ad3b
commit
68c6bffa2c
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ interface Props {
|
|||
|
||||
const SignOutButton: React.FC<Props> = ({ children }) => {
|
||||
const signoutOnClick = (e) => {
|
||||
localStorage.clear();
|
||||
window.location.href = '/logout';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue