aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
authorEug-VS <eug-vs@keemail.me>2020-01-04 14:25:41 +0300
committerEug-VS <eug-vs@keemail.me>2020-01-04 14:25:41 +0300
commit48981ca265b537fd87325d460d01e67f0d9ab819 (patch)
treec690264e33b287201f7761fb88533fcb18a33f40 /src/index.js
parent347f9d604044236830020f232fab3733c628720f (diff)
downloadchrono-cube-ui-48981ca265b537fd87325d460d01e67f0d9ab819.tar.gz
Fix Tabs warning
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/index.js b/src/index.js
index e88b342..5268b1e 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,10 +1,7 @@
import React, { useState } from 'react';
import ReactDOM from 'react-dom';
-import {
- Typography,
- Box,
-} from "@material-ui/core";
+import { Box } from "@material-ui/core";
import CssBaseline from '@material-ui/core/CssBaseline';
import { ThemeProvider, makeStyles } from '@material-ui/core/styles';
@@ -46,7 +43,7 @@ const App = () => {
return (
<ThemeProvider theme={theme}>
<CssBaseline/>
- <Header setPage={setPage}/>
+ <Header page={page} setPage={setPage}/>
<Box className={classes.root}>
{ getPageComponent(page) }
</Box>