aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/StatisticsPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-14 17:01:42 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-14 17:01:42 -0700
commitf86379203183909c7ca40bf4448317fe75650529 (patch)
tree76cbabff7ec433a9bf97e1f3334fc0985f73500c /modern/src/reports/StatisticsPage.js
parent41244e5354fd05ef92d94fda0ceab36b2c23e88d (diff)
downloadtrackermap-web-f86379203183909c7ca40bf4448317fe75650529.tar.gz
trackermap-web-f86379203183909c7ca40bf4448317fe75650529.tar.bz2
trackermap-web-f86379203183909c7ca40bf4448317fe75650529.zip
Fix statistics report
Diffstat (limited to 'modern/src/reports/StatisticsPage.js')
-rw-r--r--modern/src/reports/StatisticsPage.js2
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) {