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