diff options
author | ilyayudovin <ilyayudovin123.@mail.com> | 2020-06-07 02:58:36 +0300 |
---|---|---|
committer | ilyayudovin <ilyayudovin123.@mail.com> | 2020-06-07 02:58:36 +0300 |
commit | 4d3e2f0d19c1957feeebda7f476f4d56b377b86e (patch) | |
tree | 4f33a5d3db3f76aca40d4db94f07dc5dc9090efb /src/Header | |
parent | e8b723ae4f046c9f0bee667569e08f7a856855f2 (diff) | |
download | which-ui-4d3e2f0d19c1957feeebda7f476f4d56b377b86e.tar.gz |
fix: fixing all eslint errors
Diffstat (limited to 'src/Header')
-rw-r--r-- | src/Header/Header.tsx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Header/Header.tsx b/src/Header/Header.tsx index fd2620c..8e8a301 100644 --- a/src/Header/Header.tsx +++ b/src/Header/Header.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { +import { AppBar, Toolbar, Tabs, @@ -15,23 +15,23 @@ interface PropTypes { const useStyles = makeStyles(theme => ({ tab: { '& .MuiTab-wrapper': { - padding: theme.spacing(2), - flexDirection: 'row', - fontSize: '0.8125rem' + padding: theme.spacing(2), + flexDirection: 'row', + fontSize: '0.8125rem' } } })); -const tabs = ["Profile", "Feed"]; +const tabs = ['Profile', 'Feed']; -const Header: React.FC<PropTypes> = ({ page, setPage }) => { +const Header: React.FC<PropTypes> = ({ page /* , setPage */ }) => { const classes = useStyles(); - const handleChange = () => {} + const handleChange = () => {}; return ( <AppBar position="static"> - <Toolbar> + <Toolbar> <Tabs onChange={handleChange} value={page}> {tabs.map((tab: string) => ( <Tab @@ -43,7 +43,7 @@ const Header: React.FC<PropTypes> = ({ page, setPage }) => { </Tabs> </Toolbar> </AppBar> - ) + ); }; export default Header; |