From e470eeb4fcc923bc54968a6561f66c75dab288b9 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 17 Apr 2022 11:51:27 -0700 Subject: Remove selectors file --- modern/src/common/selectors.js | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 modern/src/common/selectors.js (limited to 'modern/src/common') diff --git a/modern/src/common/selectors.js b/modern/src/common/selectors.js deleted file mode 100644 index 0c4c02e1..00000000 --- a/modern/src/common/selectors.js +++ /dev/null @@ -1,7 +0,0 @@ -export const getIsAdmin = (state) => state.session.user?.administrator; - -export const getUserId = (state) => state.session.user?.id; - -export const getDevices = (state) => Object.values(state.devices.items); - -export const getPosition = (id) => (state) => state.positions.items[id]; -- cgit v1.2.3