Compare commits
2 Commits
7fb2d4ed1a
...
0c731943e6
Author | SHA1 | Date | |
---|---|---|---|
0c731943e6 | |||
25cae9b006 |
@ -11,7 +11,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@emotion/react": "^11.13.3",
|
||||
"@emotion/styled": "^11.13.0",
|
||||
"@emotion/styled": "^11.14.0",
|
||||
"@fontsource/roboto": "^5.2.5",
|
||||
"@fullcalendar/core": "^6.1.15",
|
||||
"@fullcalendar/daygrid": "^6.1.15",
|
||||
|
@ -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);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user