aboutsummaryrefslogtreecommitdiff
path: root/modern/src/components/reports/ReportNavbar.js
diff options
context:
space:
mode:
authorAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-05-24 14:47:57 +0530
committerAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-05-24 14:47:57 +0530
commit81ad6a0e5c8ed4f35ccac0cd271b8923e686c060 (patch)
treea7207018677d99e91e3ce55a535cb48ae88afe7b /modern/src/components/reports/ReportNavbar.js
parent10b8e1d6f4ed63c43da2cd71bf21f34b31071cd1 (diff)
downloadtrackermap-web-81ad6a0e5c8ed4f35ccac0cd271b8923e686c060.tar.gz
trackermap-web-81ad6a0e5c8ed4f35ccac0cd271b8923e686c060.tar.bz2
trackermap-web-81ad6a0e5c8ed4f35ccac0cd271b8923e686c060.zip
Resolved some comments on the reports
Diffstat (limited to 'modern/src/components/reports/ReportNavbar.js')
-rw-r--r--modern/src/components/reports/ReportNavbar.js16
1 files changed, 4 insertions, 12 deletions
diff --git a/modern/src/components/reports/ReportNavbar.js b/modern/src/components/reports/ReportNavbar.js
index 93c01a06..674db3a4 100644
--- a/modern/src/components/reports/ReportNavbar.js
+++ b/modern/src/components/reports/ReportNavbar.js
@@ -1,16 +1,9 @@
import React from 'react';
-import { AppBar, Toolbar, Typography, List, ListItem, ListItemText, ListItemIcon, Divider, Drawer, makeStyles, IconButton, Hidden } from '@material-ui/core';
-
+import { AppBar, Toolbar, Typography, IconButton } from '@material-ui/core';
import MenuIcon from '@material-ui/icons/Menu';
import t from '../../common/localization';
-const useStyles = makeStyles(theme => ({
- menuButton: {
- }
-}));
-const ReportNavbar = ({ openDrawer, setOpenDrawer, reportName }) => {
-
- const classes = useStyles();
+const ReportNavbar = ({ openDrawer, setOpenDrawer }) => {
return (
<AppBar position="fixed" color="inherit">
@@ -19,12 +12,11 @@ const ReportNavbar = ({ openDrawer, setOpenDrawer, reportName }) => {
color="inherit"
aria-label="open drawer"
edge="start"
- onClick={() => setOpenDrawer(!openDrawer)}
- className={classes.menuButton}>
+ onClick={() => setOpenDrawer(!openDrawer)}>
<MenuIcon />
</IconButton>
<Typography variant="h6" noWrap>
- {t('reportTitle')} / {reportName}
+ {t('reportTitle')}
</Typography>
</Toolbar>
</AppBar>