aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-14 20:43:05 +0300
committereug-vs <eug-vs@keemail.me>2020-06-14 20:43:05 +0300
commitfbe489c83e9ef4c03b87624a4dec66de61af364a (patch)
tree3d455f133b5afa1e6a1c30c4589ef3db39dd4c4e /src
parent61a424debfbfa98570e070fbf25d03aa9c56d679 (diff)
downloadwhich-ui-fbe489c83e9ef4c03b87624a4dec66de61af364a.tar.gz
style: fix eslint errors
Diffstat (limited to 'src')
-rw-r--r--src/index.tsx1
-rw-r--r--src/pages/ProfilePage/ProfilePage.tsx2
2 files changed, 1 insertions, 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<PropTypes> = ({ logOut, id }) => {
<ProfileInfo user={userInfo} logOut={logOut} />
<Feed polls={polls} />
</>
- )
+ );
};
export default ProfilePage;