aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-03 19:11:18 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-03 19:11:18 -0700
commit02539d31ea7522fcfbbbcf4cf3fcd03e1961786f (patch)
treebd6b74d5c16fedfaa49e05814dfb788f079ea375 /modern
parentf2f787e56b03c5806f0b7ce872f5450b6f733ae1 (diff)
downloadtrackermap-web-02539d31ea7522fcfbbbcf4cf3fcd03e1961786f.tar.gz
trackermap-web-02539d31ea7522fcfbbbcf4cf3fcd03e1961786f.tar.bz2
trackermap-web-02539d31ea7522fcfbbbcf4cf3fcd03e1961786f.zip
Fix warning
Diffstat (limited to 'modern')
-rw-r--r--modern/src/map/DefaultCameraMap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/map/DefaultCameraMap.js b/modern/src/map/DefaultCameraMap.js
index 5e30d568..9b501ce5 100644
--- a/modern/src/map/DefaultCameraMap.js
+++ b/modern/src/map/DefaultCameraMap.js
@@ -44,7 +44,7 @@ const DefaultCameraMap = () => {
}
}
}
- });
+ }, [selectedDeviceId, initialized, defaultLatitude, defaultLongitude, defaultZoom, positions]);
return null;
};