diff options
author | ilyayudovin <ilyayudovin123@gmail.com> | 2020-06-14 17:37:56 +0300 |
---|---|---|
committer | ilyayudovin <ilyayudovin123@gmail.com> | 2020-06-14 17:37:56 +0300 |
commit | a579341f91700a9ef3baecdd4d1e77535da7188e (patch) | |
tree | 12661c06ea0fcc70ce8ab7f2649a1f04039c6aba /src/index.tsx | |
parent | 657c340ea9e244b7f1041bac5be240d428d758e5 (diff) | |
download | which-ui-a579341f91700a9ef3baecdd4d1e77535da7188e.tar.gz |
fix: clear all eslint errors
Diffstat (limited to 'src/index.tsx')
-rw-r--r-- | src/index.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/index.tsx b/src/index.tsx index a5e1168..88eb87d 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -11,9 +11,7 @@ import 'typeface-roboto'; import Header from './Components/Header/Header'; import Feed from './Components/Feed/Feed'; -import ProfileInfo from './Pages/ProfilePage/ProfileInfo'; import ProfilePage from './Pages/ProfilePage/ProfilePage'; -import SignInForm from './Pages/ProfilePage/SignInForm'; import { User } from './types'; import { get } from './requests'; @@ -53,7 +51,9 @@ const App: React.FC = () => { <Header setPage={setPage} /> <div className={classes.root}> { - page === 'profile' ? <ProfilePage id={user?._id || ''} setUser={setUser} user={user} /> : <Feed page={page} /> + page === 'profile' + ? <ProfilePage setUser={setUser} user={user} /> + : <Feed page={page} /> } </div> </ThemeProvider> |