diff options
author | ilyayudovin <ilyayudovin123@gmail.com> | 2020-06-12 19:41:54 +0300 |
---|---|---|
committer | ilyayudovin <ilyayudovin123@gmail.com> | 2020-06-12 19:41:54 +0300 |
commit | 282bd3180b149571cfc5caad98d8b462596157ef (patch) | |
tree | 2fa69bcb7e691dae54d1ab1bc52e9f984d4c69fb /src/index.tsx | |
parent | 8bee1a3fc948f292b23e9024cb89600e08757240 (diff) | |
download | which-ui-282bd3180b149571cfc5caad98d8b462596157ef.tar.gz |
fix: clear eslint errors
Diffstat (limited to 'src/index.tsx')
-rw-r--r-- | src/index.tsx | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/src/index.tsx b/src/index.tsx index 530cd82..9fb34cb 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -21,42 +21,6 @@ const theme = createMuiTheme({ } }); -const polls = [{ - author: { - name: 'John Doe', - avatarUrl: '' - }, - contents: { - left: { - // eslint-disable-next-line max-len - url: 'https://images.pexels.com/photos/556666/pexels-photo-556666.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500', - votes: 15 - }, - right: { - // eslint-disable-next-line max-len - url: 'https://cdn.psychologytoday.com/sites/default/files/field_blog_entry_images/2019-06/pexels-photo-556667.jpeg', - votes: 17 - } - } -}, { - author: { - name: 'John Doe', - avatarUrl: '' - }, - contents: { - left: { - // eslint-disable-next-line max-len - url: 'https://images.pexels.com/photos/556666/pexels-photo-556666.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500', - votes: 15 - }, - right: { - // eslint-disable-next-line max-len - url: 'https://cdn.psychologytoday.com/sites/default/files/field_blog_entry_images/2019-06/pexels-photo-556667.jpeg', - votes: 17 - } - } -}]; - const useStyles = makeStyles({ root: { width: theme.spacing(75), @@ -75,7 +39,7 @@ const App: React.FC = () => { <Header setPage={setPage} /> <div className={classes.root}> { - page === 'profile' && <ProfileInfo id='5ee39a3b29600306e4e2b0b7' /> + page === 'profile' && <ProfileInfo id="5ee39a3b29600306e4e2b0b7" /> } <Feed page={page} /> </div> |