diff options
author | Anton Tananaev <anton@traccar.org> | 2022-04-17 11:51:27 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-04-17 11:51:27 -0700 |
commit | e470eeb4fcc923bc54968a6561f66c75dab288b9 (patch) | |
tree | fe17741ad65384e63d299426ae765b1e9fa3acfe /modern/src/common | |
parent | 2054cc9d11d77d7883a5858bcbcc3833aed4b874 (diff) | |
download | trackermap-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.js | 7 |
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]; |