aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modern/src/other/ReplayPage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/other/ReplayPage.js b/modern/src/other/ReplayPage.js
index 7db751b2..aaffc889 100644
--- a/modern/src/other/ReplayPage.js
+++ b/modern/src/other/ReplayPage.js
@@ -120,12 +120,12 @@ const ReplayPage = () => {
}
}, [index, positions]);
- const handleSubmit = useCatch(async ({ deviceId, from, to, headers }) => {
+ const handleSubmit = useCatch(async ({ deviceId, from, to }) => {
setSelectedDeviceId(deviceId);
setFrom(from);
setTo(to);
const query = new URLSearchParams({ deviceId, from, to });
- const response = await fetch(`/api/positions?${query.toString()}`, { headers });
+ const response = await fetch(`/api/positions?${query.toString()}`);
if (response.ok) {
setIndex(0);
const positions = await response.json();