diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-14 16:16:51 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-14 16:16:51 -0800 |
commit | cfb788f1f8738b0b29ffb6d27ca8790f1ef7b49a (patch) | |
tree | a9f9ed8fd581e2b7aff4f0f8dbde2e975fe48754 /modern/src/reports/EventReportPage.js | |
parent | 982156708be8fd1169627ad752a884f2095a6bed (diff) | |
download | trackermap-web-cfb788f1f8738b0b29ffb6d27ca8790f1ef7b49a.tar.gz trackermap-web-cfb788f1f8738b0b29ffb6d27ca8790f1ef7b49a.tar.bz2 trackermap-web-cfb788f1f8738b0b29ffb6d27ca8790f1ef7b49a.zip |
Formatting
Diffstat (limited to 'modern/src/reports/EventReportPage.js')
-rw-r--r-- | modern/src/reports/EventReportPage.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/reports/EventReportPage.js b/modern/src/reports/EventReportPage.js index e0eed0c6..b11933a3 100644 --- a/modern/src/reports/EventReportPage.js +++ b/modern/src/reports/EventReportPage.js @@ -7,6 +7,7 @@ import ReportFilter from './ReportFilter'; import ReportLayoutPage from './ReportLayoutPage'; const ReportFilterForm = ({ onResult }) => { + const [eventType, setEventType] = useState(['allEvents']); const handleSubmit = async (deviceId, from, to) => { @@ -48,6 +49,7 @@ const ReportFilterForm = ({ onResult }) => { } const EventReportPage = () => { + const [items, setItems] = useState([]); return ( |