Logout invalidate
This commit is contained in:
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();
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user