Compare commits

...

2 Commits

Author SHA1 Message Date
0c731943e6 Update dependency @emotion/styled to ^11.14.0
Some checks failed
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-04-08 00:26:40 +00:00
25cae9b006 Perform more proper sign out operation
All checks were successful
continuous-integration/drone/push Build is passing
2025-04-07 22:00:37 +02:00
2 changed files with 7 additions and 3 deletions

View File

@ -11,7 +11,7 @@
}, },
"dependencies": { "dependencies": {
"@emotion/react": "^11.13.3", "@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0", "@emotion/styled": "^11.14.0",
"@fontsource/roboto": "^5.2.5", "@fontsource/roboto": "^5.2.5",
"@fullcalendar/core": "^6.1.15", "@fullcalendar/core": "^6.1.15",
"@fullcalendar/daygrid": "^6.1.15", "@fullcalendar/daygrid": "^6.1.15",

View File

@ -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);
}; };