diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-06-30 10:31:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-30 10:31:37 -0700 |
commit | 0c712a70f56995e7af329846835d6d1f0343a2f1 (patch) | |
tree | 34a038a787aa84ab4bd2a2a9388c53266c4c88b9 /modern/src/reports | |
parent | 249f0437362ffbd3e14aa04a482ce03eb7e351e4 (diff) | |
parent | a6bd780f7570a813d87741b25effe886803f9d10 (diff) | |
download | trackermap-web-0c712a70f56995e7af329846835d6d1f0343a2f1.tar.gz trackermap-web-0c712a70f56995e7af329846835d6d1f0343a2f1.tar.bz2 trackermap-web-0c712a70f56995e7af329846835d6d1f0343a2f1.zip |
Merge pull request #871 from dkyeremeh/inputs-fix
Inputs fix
Diffstat (limited to 'modern/src/reports')
-rw-r--r-- | modern/src/reports/ReportFilter.js | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/modern/src/reports/ReportFilter.js b/modern/src/reports/ReportFilter.js index 8055d30c..b9817d52 100644 --- a/modern/src/reports/ReportFilter.js +++ b/modern/src/reports/ReportFilter.js @@ -4,19 +4,7 @@ import { useSelector } from 'react-redux'; import moment from 'moment'; import t from '../common/localization'; -const useStyles = makeStyles(theme => ({ - gridContainer: { - margin: theme.spacing(0, -1), - '& > .MuiGrid-item': { - padding: theme.spacing(1.5, 1) - } - } -})); - const ReportFilter = ({ children, handleSubmit, showOnly }) => { - - const classes = useStyles(); - const devices = useSelector(state => Object.values(state.devices.items)); const [deviceId, setDeviceId] = useState(); const [period, setPeriod] = useState('today'); @@ -68,7 +56,7 @@ const ReportFilter = ({ children, handleSubmit, showOnly }) => { } return ( - <Grid container spacing={2} className={classes.gridContainer}> + <Grid container spacing={2}> <Grid item xs={12} sm={period === 'custom' ? 3 : 6}> <FormControl variant="filled" fullWidth> <InputLabel>{t('reportDevice')}</InputLabel> |