From f86379203183909c7ca40bf4448317fe75650529 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 14 May 2022 17:01:42 -0700 Subject: Fix statistics report --- modern/src/reports/StatisticsPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern/src') 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) { -- cgit v1.2.3