Logout invalidate

This commit is contained in:
Kilian committed 2024-07-26 16:14:45 +02:00
1 parent ff0e192768
commit 0929371c10
2 files changed
+2 -2

No files matched your search

Binary file not shown.
@@ -50,8 +50,8 @@ const UserMenu: FC<Props> = ({ anchorEl, handleClose }) => {
</MenuItem>,
<MenuItem
key="logout"
onClick={() => {
Api.logOut();
onClick={async () => {
await Api.logOut();
router.invalidate();
handleClose();
}}