From 26911f1e971b798aac51e15ae3b54a4f40dd334a Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Sun, 7 Jun 2020 19:34:14 +0300
Subject: feat: change pages in header

---
 src/index.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'src/index.tsx')

diff --git a/src/index.tsx b/src/index.tsx
index b0a8fdc..48bad48 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -13,7 +13,7 @@ const theme = createMuiTheme({
   palette: {
     primary: {
       main: teal[700]
-    },
+    }
   }
 });
 
@@ -43,8 +43,9 @@ const App: React.FC = () => {
   return (
     <ThemeProvider theme={theme}>
       <CssBaseline />
-      <Header />
+      <Header setPage={setPage} />
       <PollCard author={pollProps.author} contents={pollProps.contents} />
+      <h1> We are on page {page}! </h1>
     </ThemeProvider>
   );
 };
-- 
cgit v1.2.3

