diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/index.tsx | 1 | ||||
-rw-r--r-- | src/pages/ProfilePage/ProfilePage.tsx | 2 |
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; |