diff options
author | Desmond Kyeremeh <elDekyfin@gmail.com> | 2021-07-26 11:59:59 +0000 |
---|---|---|
committer | Desmond Kyeremeh <elDekyfin@gmail.com> | 2021-07-26 11:59:59 +0000 |
commit | 8f26d3171d8d0bccfbd00893498a6ed9db45adb2 (patch) | |
tree | 7b46bb05803bee25459dec70a57efe0fe3600bf9 /modern/src/common | |
parent | 8c266947493ad1b3d8f90223a4b6ee90387f0c18 (diff) | |
download | trackermap-web-8f26d3171d8d0bccfbd00893498a6ed9db45adb2.tar.gz trackermap-web-8f26d3171d8d0bccfbd00893498a6ed9db45adb2.tar.bz2 trackermap-web-8f26d3171d8d0bccfbd00893498a6ed9db45adb2.zip |
renamed selector getItemPosition to getPosition
Diffstat (limited to 'modern/src/common')
-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]; |