From b0ff8b904d1f48087da4c7c86849829e899a6281 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 28 May 2022 11:11:11 -0700 Subject: Multidevice summary report --- modern/src/other/ReplayPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern/src/other') 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 }); -- cgit v1.2.3