diff options
Diffstat (limited to 'modern/src/other')
-rw-r--r-- | modern/src/other/ReplayPage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/other/ReplayPage.js b/modern/src/other/ReplayPage.js index 4893dda9..fb6e00a5 100644 --- a/modern/src/other/ReplayPage.js +++ b/modern/src/other/ReplayPage.js @@ -123,7 +123,7 @@ const ReplayPage = () => { } }, [index, positions]); - const handleSubmit = useCatch(async (deviceId, from, to, _, headers) => { + const handleSubmit = useCatch(async ({ deviceId, from, to, headers }) => { setSelectedDeviceId(deviceId); const query = new URLSearchParams({ deviceId, from, to }); const response = await fetch(`/api/positions?${query.toString()}`, { headers }); |