diff options
Diffstat (limited to 'modern/src/common/selectors.js')
-rw-r--r-- | modern/src/common/selectors.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/common/selectors.js b/modern/src/common/selectors.js index ddf9dbec..0c4c02e1 100644 --- a/modern/src/common/selectors.js +++ b/modern/src/common/selectors.js @@ -4,4 +4,4 @@ export const getUserId = (state) => state.session.user?.id; export const getDevices = (state) => Object.values(state.devices.items); -export const getItemPosition = (itemId) => (state) => state.positions.items[itemId]; +export const getPosition = (id) => (state) => state.positions.items[id]; |