diff options
author | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2020-11-01 18:46:06 +0530 |
---|---|---|
committer | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2020-11-01 18:46:06 +0530 |
commit | 8c167d82b75b764d3b12845aae7827550607a148 (patch) | |
tree | 982912b66e297bb8c09c3e9413e7d7f1bda7e882 /modern/src/reports/ReportFilter.js | |
parent | 71892bfca5c4c7fe6d691aaf84baaae54c335939 (diff) | |
download | etbsa-traccar-web-8c167d82b75b764d3b12845aae7827550607a148.tar.gz etbsa-traccar-web-8c167d82b75b764d3b12845aae7827550607a148.tar.bz2 etbsa-traccar-web-8c167d82b75b764d3b12845aae7827550607a148.zip |
Revert all the code formatting applied by vscode
Diffstat (limited to 'modern/src/reports/ReportFilter.js')
-rw-r--r-- | modern/src/reports/ReportFilter.js | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/modern/src/reports/ReportFilter.js b/modern/src/reports/ReportFilter.js index 55f73e3..6f24804 100644 --- a/modern/src/reports/ReportFilter.js +++ b/modern/src/reports/ReportFilter.js @@ -1,12 +1,5 @@ import React, { useState } from 'react'; -import { - FormControl, - InputLabel, - Select, - MenuItem, - Button, - TextField, -} from '@material-ui/core'; +import { FormControl, InputLabel, Select, MenuItem, Button, TextField } from '@material-ui/core'; import t from '../common/localization'; import { useSelector } from 'react-redux'; import moment from 'moment'; @@ -17,6 +10,7 @@ const ReportFilter = (props) => { const [period, setPeriod] = useState('today'); const [from, setFrom] = useState(moment().subtract(1, 'hour')); const [to, setTo] = useState(moment()); + const handleShow = () => { let selectedFrom; let selectedTo; @@ -52,7 +46,9 @@ const ReportFilter = (props) => { } props.handleSubmit(deviceId, selectedFrom, selectedTo); - }; + + } + return ( <> <FormControl variant="filled" margin="normal" fullWidth> @@ -114,6 +110,7 @@ const ReportFilter = (props) => { </FormControl> </> ); -}; + +} -export default ReportFilter; +export default ReportFilter;
\ No newline at end of file |