aboutsummaryrefslogtreecommitdiff
path: root/src/index.tsx
diff options
context:
space:
mode:
authorEugene Sokolov <eug-vs@keemail.me>2020-06-07 20:16:35 +0300
committerGitHub <noreply@github.com>2020-06-07 20:16:35 +0300
commitb8b848dfd6e3843c6b455c8344320dcd187b72da (patch)
tree448562cddde0e5cdf6014fab6b00554970539dff /src/index.tsx
parent4e4c9d529e6f70e7dac84aaecb5b6a25769c3290 (diff)
parent796271adc4bf815c19c58f4231019502cb0bed24 (diff)
downloadwhich-ui-b8b848dfd6e3843c6b455c8344320dcd187b72da.tar.gz
Merge pull request #13 from ilyayudovin/header-enhanced
Improve Header styles
Diffstat (limited to 'src/index.tsx')
-rw-r--r--src/index.tsx7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/index.tsx b/src/index.tsx
index d7efbf7..48bad48 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -13,10 +13,6 @@ const theme = createMuiTheme({
palette: {
primary: {
main: teal[700]
- },
- text: {
- primary: '#000000',
- secondary: 'rgba(255, 255, 255, 0.6)'
}
}
});
@@ -47,8 +43,9 @@ const App: React.FC = () => {
return (
<ThemeProvider theme={theme}>
<CssBaseline />
- <Header page={page} setPage={setPage} />
+ <Header setPage={setPage} />
<PollCard author={pollProps.author} contents={pollProps.contents} />
+ <h1> We are on page {page}! </h1>
</ThemeProvider>
);
};