Compare commits
1 Commits
877b0c56b3
...
49ba90a16e
Author | SHA1 | Date | |
---|---|---|---|
49ba90a16e |
@ -43,13 +43,9 @@ export function BaseAuthenticatedPage(): React.ReactElement {
|
||||
setAnchorEl(null);
|
||||
};
|
||||
|
||||
const signOut = async () => {
|
||||
const signOut = () => {
|
||||
handleCloseMenu();
|
||||
try {
|
||||
await AuthApi.SignOut();
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
AuthApi.SignOut();
|
||||
navigate("/");
|
||||
auth.setSignedIn(false);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user