From fbe489c83e9ef4c03b87624a4dec66de61af364a Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 14 Jun 2020 20:43:05 +0300 Subject: style: fix eslint errors --- src/index.tsx | 1 - src/pages/ProfilePage/ProfilePage.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 5ab1910..55bf773 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -42,7 +42,6 @@ const App: React.FC = () => { setUser(undefined); }; - useEffect(() => { const userId = localStorage.getItem('userId'); if (userId) { diff --git a/src/pages/ProfilePage/ProfilePage.tsx b/src/pages/ProfilePage/ProfilePage.tsx index 023f37c..1dd71d3 100644 --- a/src/pages/ProfilePage/ProfilePage.tsx +++ b/src/pages/ProfilePage/ProfilePage.tsx @@ -26,7 +26,7 @@ const ProfilePage: React.FC = ({ logOut, id }) => { - ) + ); }; export default ProfilePage; -- cgit v1.2.3