aboutsummaryrefslogtreecommitdiff
path: root/src/Header
diff options
context:
space:
mode:
authorilyayudovin <ilyayudovin123.@mail.com>2020-06-07 02:58:36 +0300
committerilyayudovin <ilyayudovin123.@mail.com>2020-06-07 02:58:36 +0300
commit4d3e2f0d19c1957feeebda7f476f4d56b377b86e (patch)
tree4f33a5d3db3f76aca40d4db94f07dc5dc9090efb /src/Header
parente8b723ae4f046c9f0bee667569e08f7a856855f2 (diff)
downloadwhich-ui-4d3e2f0d19c1957feeebda7f476f4d56b377b86e.tar.gz
fix: fixing all eslint errors
Diffstat (limited to 'src/Header')
-rw-r--r--src/Header/Header.tsx18
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;