aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-04-17 11:51:27 -0700
committerAnton Tananaev <anton@traccar.org>2022-04-17 11:51:27 -0700
commite470eeb4fcc923bc54968a6561f66c75dab288b9 (patch)
treefe17741ad65384e63d299426ae765b1e9fa3acfe /modern/src/common
parent2054cc9d11d77d7883a5858bcbcc3833aed4b874 (diff)
downloadtrackermap-web-e470eeb4fcc923bc54968a6561f66c75dab288b9.tar.gz
trackermap-web-e470eeb4fcc923bc54968a6561f66c75dab288b9.tar.bz2
trackermap-web-e470eeb4fcc923bc54968a6561f66c75dab288b9.zip
Remove selectors file
Diffstat (limited to 'modern/src/common')
-rw-r--r--modern/src/common/selectors.js7
1 files changed, 0 insertions, 7 deletions
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];