diff options
author | Desmond Kyeremeh <elDekyfin@gmail.com> | 2021-07-12 03:12:10 +0000 |
---|---|---|
committer | Desmond Kyeremeh <elDekyfin@gmail.com> | 2021-07-12 03:12:10 +0000 |
commit | a7e1b5f5fd772d37f9777fec097f28411f13562f (patch) | |
tree | 068bd0e5968eee9f065145f8abd53395dd113d1e /modern | |
parent | aba0f502a1a5e9a9467a06e1417ebb72c1e2ced2 (diff) | |
download | etbsa-traccar-web-a7e1b5f5fd772d37f9777fec097f28411f13562f.tar.gz etbsa-traccar-web-a7e1b5f5fd772d37f9777fec097f28411f13562f.tar.bz2 etbsa-traccar-web-a7e1b5f5fd772d37f9777fec097f28411f13562f.zip |
moved selectors to common
Diffstat (limited to 'modern')
-rw-r--r-- | modern/src/MainToolbar.js | 2 | ||||
-rw-r--r-- | modern/src/common/selectors.js (renamed from modern/src/selectors.js) | 0 | ||||
-rw-r--r-- | modern/src/settings/OptionsLayout/useRoutes.js | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/MainToolbar.js b/modern/src/MainToolbar.js index dacd668..8b6c22c 100644 --- a/modern/src/MainToolbar.js +++ b/modern/src/MainToolbar.js @@ -19,7 +19,7 @@ import DescriptionIcon from '@material-ui/icons/Description'; import ReplayIcon from '@material-ui/icons/Replay'; import { sessionActions } from './store'; import t from './common/localization'; -import * as selectors from './selectors'; +import * as selectors from './common/selectors'; const useStyles = makeStyles((theme) => ({ flex: { diff --git a/modern/src/selectors.js b/modern/src/common/selectors.js index 44a0c54..44a0c54 100644 --- a/modern/src/selectors.js +++ b/modern/src/common/selectors.js diff --git a/modern/src/settings/OptionsLayout/useRoutes.js b/modern/src/settings/OptionsLayout/useRoutes.js index f2603dd..1832081 100644 --- a/modern/src/settings/OptionsLayout/useRoutes.js +++ b/modern/src/settings/OptionsLayout/useRoutes.js @@ -8,7 +8,7 @@ import StorageIcon from '@material-ui/icons/Storage'; import BuildIcon from '@material-ui/icons/Build'; import PeopleIcon from '@material-ui/icons/People'; import BarChartIcon from '@material-ui/icons/BarChart'; -import { getIsAdmin, getUserId } from '../../selectors'; +import { getIsAdmin, getUserId } from '../../common/selectors'; import t from '../../common/localization'; const accountRoute = { |