diff options
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) { |