mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-05 23:44:22 +00:00
Fix various eslint issues
This commit is contained in:
@@ -26,8 +26,8 @@ const UserMenu: React.FC = () => {
|
||||
const [opened, setOpened] = useState<boolean>(false);
|
||||
const { user, logout } = useAuth();
|
||||
|
||||
const handleLogout = (): void => {
|
||||
logout();
|
||||
const handleLogout = async (): Promise<void> => {
|
||||
await logout();
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user