mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 16:04:23 +00:00
Fix logout button
This commit is contained in:
@@ -102,7 +102,10 @@ const UserMenu: React.FC = () => {
|
||||
)}
|
||||
|
||||
<UnstyledButton
|
||||
onClick={() => void handleLogout}
|
||||
onClick={() => {
|
||||
void handleLogout();
|
||||
setOpened(false);
|
||||
}}
|
||||
px="sm"
|
||||
py="xs"
|
||||
color="red"
|
||||
|
||||
Reference in New Issue
Block a user