diff options
Diffstat (limited to 'src/pages/Profile/Profile.tsx')
-rw-r--r-- | src/pages/Profile/Profile.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/Profile/Profile.tsx b/src/pages/Profile/Profile.tsx index bbf55f1..83acb30 100644 --- a/src/pages/Profile/Profile.tsx +++ b/src/pages/Profile/Profile.tsx @@ -39,7 +39,7 @@ const Profile: React.FC<PropTypes> = ({ user, setUser }) => { const [profileSolutions, setProfileSolutions] = useState<Solution[]>([]); - const handleLogout = () => { + const handleLogout = (): void => { setUser({ username: 'anonymous', id: null }); localStorage.clear(); }; |