diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-14 17:01:42 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-14 17:01:42 -0700 |
commit | f86379203183909c7ca40bf4448317fe75650529 (patch) | |
tree | 76cbabff7ec433a9bf97e1f3334fc0985f73500c /modern | |
parent | 41244e5354fd05ef92d94fda0ceab36b2c23e88d (diff) | |
download | trackermap-web-f86379203183909c7ca40bf4448317fe75650529.tar.gz trackermap-web-f86379203183909c7ca40bf4448317fe75650529.tar.bz2 trackermap-web-f86379203183909c7ca40bf4448317fe75650529.zip |
Fix statistics report
Diffstat (limited to 'modern')
-rw-r--r-- | modern/src/reports/StatisticsPage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/reports/StatisticsPage.js b/modern/src/reports/StatisticsPage.js index fcdf22d6..9c4f1384 100644 --- a/modern/src/reports/StatisticsPage.js +++ b/modern/src/reports/StatisticsPage.js @@ -13,7 +13,7 @@ const StatisticsPage = () => { const [items, setItems] = useState([]); - const handleSubmit = async (from, to) => { + const handleSubmit = async (_, from, to) => { const query = new URLSearchParams({ from, to }); const response = await fetch(`/api/statistics?${query.toString()}`, { Accept: 'application/json' }); if (response.ok) { |