From 77fe6ac371160ffc385b1378093f34d0b1f2a8c9 Mon Sep 17 00:00:00 2001
From: ilyayudovin <ilyayudovin123@gmail.com>
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 = () => {
       <Header setPage={setPage} />
       <div className={classes.root}>
         {
-          page === 'profile' ? <ProfileInfo profile={polls[0]}/> : null
+          page === 'profile' ? <ProfileInfo profile={polls[0]} /> : null
         }
         <Feed polls={polls} />
         <h1> We are on page {page}! </h1>
-- 
cgit v1.2.3

