From 0267191d92814e753b966ce3bdfbd9b804b313d7 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Sat, 21 Mar 2020 16:05:52 +0300
Subject: fix: add missing types

---
 src/pages/Profile/Profile.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/Profile/Profile.tsx')

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();
   };
-- 
cgit v1.2.3

