aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/reports')
-rw-r--r--modern/src/reports/ReportFilter.js14
1 files changed, 1 insertions, 13 deletions
diff --git a/modern/src/reports/ReportFilter.js b/modern/src/reports/ReportFilter.js
index 8055d30..b9817d5 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>