aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/MapRoutePath.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-10-28 17:53:24 -0700
committerAnton Tananaev <anton@traccar.org>2022-10-28 17:53:24 -0700
commit06c98c0b8216bbba5bf971cb92138741df03f1c4 (patch)
tree431c7e29649ed3824a26c01615904fa9cce81375 /modern/src/map/MapRoutePath.js
parent080164d310c9f789b400e9909c12423bf31ef79c (diff)
downloadtrackermap-web-06c98c0b8216bbba5bf971cb92138741df03f1c4.tar.gz
trackermap-web-06c98c0b8216bbba5bf971cb92138741df03f1c4.tar.bz2
trackermap-web-06c98c0b8216bbba5bf971cb92138741df03f1c4.zip
Improve live routes (fix #1017)
Diffstat (limited to 'modern/src/map/MapRoutePath.js')
-rw-r--r--modern/src/map/MapRoutePath.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/map/MapRoutePath.js b/modern/src/map/MapRoutePath.js
index 22f8d335..0eb48bdc 100644
--- a/modern/src/map/MapRoutePath.js
+++ b/modern/src/map/MapRoutePath.js
@@ -69,7 +69,7 @@ const MapRoutePath = ({ positions }) => {
color: reportColor,
},
});
- }, [positions, reportColor]);
+ }, [theme, positions, reportColor]);
return null;
};