aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDesmond Kyeremeh <elDekyfin@gmail.com>2021-07-12 03:12:10 +0000
committerDesmond Kyeremeh <elDekyfin@gmail.com>2021-07-12 03:12:10 +0000
commita7e1b5f5fd772d37f9777fec097f28411f13562f (patch)
tree068bd0e5968eee9f065145f8abd53395dd113d1e
parentaba0f502a1a5e9a9467a06e1417ebb72c1e2ced2 (diff)
downloadtrackermap-web-a7e1b5f5fd772d37f9777fec097f28411f13562f.tar.gz
trackermap-web-a7e1b5f5fd772d37f9777fec097f28411f13562f.tar.bz2
trackermap-web-a7e1b5f5fd772d37f9777fec097f28411f13562f.zip
moved selectors to common
-rw-r--r--modern/src/MainToolbar.js2
-rw-r--r--modern/src/common/selectors.js (renamed from modern/src/selectors.js)0
-rw-r--r--modern/src/settings/OptionsLayout/useRoutes.js2
3 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/MainToolbar.js b/modern/src/MainToolbar.js
index dacd6686..8b6c22cb 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 44a0c547..44a0c547 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 f2603dd8..18320813 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 = {