aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/AccumulatorsPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/settings/AccumulatorsPage.js')
-rw-r--r--modern/src/settings/AccumulatorsPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/settings/AccumulatorsPage.js b/modern/src/settings/AccumulatorsPage.js
index 363bc376..5067e4fd 100644
--- a/modern/src/settings/AccumulatorsPage.js
+++ b/modern/src/settings/AccumulatorsPage.js
@@ -48,7 +48,7 @@ const AccumulatorsPage = () => {
const distanceUnit = useAttributePreference('distanceUnit');
const { deviceId } = useParams();
- const position = useSelector((state) => state.positions.items[deviceId]);
+ const position = useSelector((state) => state.session.positions[deviceId]);
const [item, setItem] = useState();