aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/ReplayPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/reports/ReplayPage.js')
-rw-r--r--modern/src/reports/ReplayPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/reports/ReplayPage.js b/modern/src/reports/ReplayPage.js
index d79e19ce..4ffab49d 100644
--- a/modern/src/reports/ReplayPage.js
+++ b/modern/src/reports/ReplayPage.js
@@ -100,7 +100,7 @@ const ReplayPage = () => {
if (index >= positions.length) {
clearInterval(timerRef.current);
}
- }, [index]);
+ }, [index, positions]);
const handleSubmit = async (deviceId, from, to, _, headers) => {
setSelectedDeviceId(deviceId);