From 8f26d3171d8d0bccfbd00893498a6ed9db45adb2 Mon Sep 17 00:00:00 2001 From: Desmond Kyeremeh Date: Mon, 26 Jul 2021 11:59:59 +0000 Subject: renamed selector getItemPosition to getPosition --- modern/src/common/selectors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern/src/common') 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]; -- cgit v1.2.3