aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/main/MapDefaultCamera.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/map/main/MapDefaultCamera.js')
-rw-r--r--modern/src/map/main/MapDefaultCamera.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/map/main/MapDefaultCamera.js b/modern/src/map/main/MapDefaultCamera.js
index f6b6ed9c..90b3061b 100644
--- a/modern/src/map/main/MapDefaultCamera.js
+++ b/modern/src/map/main/MapDefaultCamera.js
@@ -6,7 +6,7 @@ import { map } from '../core/MapView';
const MapDefaultCamera = () => {
const selectedDeviceId = useSelector((state) => state.devices.selectedId);
- const positions = useSelector((state) => state.positions.items);
+ const positions = useSelector((state) => state.session.positions);
const defaultLatitude = usePreference('latitude');
const defaultLongitude = usePreference('longitude');