diff options
Diffstat (limited to 'modern/src/map/main/MapLiveRoutes.js')
-rw-r--r-- | modern/src/map/main/MapLiveRoutes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/map/main/MapLiveRoutes.js b/modern/src/map/main/MapLiveRoutes.js index d0f67a73..55a04606 100644 --- a/modern/src/map/main/MapLiveRoutes.js +++ b/modern/src/map/main/MapLiveRoutes.js @@ -15,7 +15,7 @@ const MapLiveRoutes = () => { const selectedDeviceId = useSelector((state) => state.devices.selectedId); const currentDeviceId = usePrevious(selectedDeviceId); - const position = useSelector((state) => state.positions.items[selectedDeviceId]); + const position = useSelector((state) => state.session.positions[selectedDeviceId]); const [route, setRoute] = useState([]); |