From 77fe6ac371160ffc385b1378093f34d0b1f2a8c9 Mon Sep 17 00:00:00 2001 From: ilyayudovin Date: Mon, 8 Jun 2020 14:55:52 +0300 Subject: fix: fix eslint errors --- src/index.tsx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/index.tsx') diff --git a/src/index.tsx b/src/index.tsx index bc6158a..a7df3c1 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -57,15 +57,13 @@ const polls = [{ } }]; -const useStyles = makeStyles(theme => ({ +const useStyles = makeStyles({ root: { width: 600, marginTop: theme.spacing(15), - margin: '0 auto', - }, -})); - - + margin: '0 auto' + } +}); const App: React.FC = () => { const [page, setPage] = useState('feed'); @@ -77,7 +75,7 @@ const App: React.FC = () => {
{ - page === 'profile' ? : null + page === 'profile' ? : null }

We are on page {page}!

-- cgit v1.2.3