aboutsummaryrefslogtreecommitdiff
path: root/src/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.tsx')
-rw-r--r--src/index.tsx5
1 files changed, 3 insertions, 2 deletions
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>
);
};