Compare commits
2 Commits
d915b6801c
...
33c172516d
Author | SHA1 | Date | |
---|---|---|---|
33c172516d | |||
25cae9b006 |
@ -18,7 +18,7 @@
|
|||||||
"@fullcalendar/interaction": "^6.1.15",
|
"@fullcalendar/interaction": "^6.1.15",
|
||||||
"@fullcalendar/list": "^6.1.15",
|
"@fullcalendar/list": "^6.1.15",
|
||||||
"@fullcalendar/react": "^6.1.15",
|
"@fullcalendar/react": "^6.1.15",
|
||||||
"@mdi/js": "^7.2.96",
|
"@mdi/js": "^7.4.47",
|
||||||
"@mdi/react": "^1.6.1",
|
"@mdi/react": "^1.6.1",
|
||||||
"@mui/icons-material": "^7.0.0",
|
"@mui/icons-material": "^7.0.0",
|
||||||
"@mui/lab": "^7.0.0-beta.9",
|
"@mui/lab": "^7.0.0-beta.9",
|
||||||
|
@ -43,9 +43,13 @@ export function BaseAuthenticatedPage(): React.ReactElement {
|
|||||||
setAnchorEl(null);
|
setAnchorEl(null);
|
||||||
};
|
};
|
||||||
|
|
||||||
const signOut = () => {
|
const signOut = async () => {
|
||||||
handleCloseMenu();
|
handleCloseMenu();
|
||||||
AuthApi.SignOut();
|
try {
|
||||||
|
await AuthApi.SignOut();
|
||||||
|
} catch (e) {
|
||||||
|
console.error(e);
|
||||||
|
}
|
||||||
navigate("/");
|
navigate("/");
|
||||||
auth.setSignedIn(false);
|
auth.setSignedIn(false);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user