aboutsummaryrefslogtreecommitdiff
path: root/modern/src/main/DeviceRow.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/main/DeviceRow.js')
-rw-r--r--modern/src/main/DeviceRow.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/main/DeviceRow.js b/modern/src/main/DeviceRow.js
index 5699c274..dbe5df6e 100644
--- a/modern/src/main/DeviceRow.js
+++ b/modern/src/main/DeviceRow.js
@@ -55,7 +55,7 @@ const DeviceRow = ({ data, index, style }) => {
const admin = useAdministrator();
const item = data[index];
- const position = useSelector((state) => state.positions.items[item.id]);
+ const position = useSelector((state) => state.session.positions[item.id]);
const geofences = useSelector((state) => state.geofences.items);