From 48981ca265b537fd87325d460d01e67f0d9ab819 Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Sat, 4 Jan 2020 14:25:41 +0300 Subject: Fix Tabs warning --- src/components/Header/Header.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components') diff --git a/src/components/Header/Header.js b/src/components/Header/Header.js index 1c4e77d..021f2b4 100644 --- a/src/components/Header/Header.js +++ b/src/components/Header/Header.js @@ -18,7 +18,7 @@ const useStyles = makeStyles(theme => ({ })); -const Header = ({ setPage }) => { +const Header = ({ page, setPage }) => { const classes = useStyles(); const handleChange = (event, newPage) => { @@ -29,7 +29,7 @@ const Header = ({ setPage }) => { return ( - + ChronoCube { menuItems.map(menuItem => ( -- cgit v1.2.3