aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/App.js4
-rw-r--r--modern/src/CachingController.js (renamed from modern/src/MainController.js)4
2 files changed, 4 insertions, 4 deletions
diff --git a/modern/src/App.js b/modern/src/App.js
index ef5fd204..7f8a5829 100644
--- a/modern/src/App.js
+++ b/modern/src/App.js
@@ -30,7 +30,7 @@ import MaintenancesPage from './settings/MaintenancesPage';
import MaintenancePage from './settings/MaintenancePage';
import StatisticsPage from './admin/StatisticsPage';
-import MainController from './MainController';
+import CachingController from './CachingController';
const App = () => {
const initialized = useSelector(state => !!state.session.server && !!state.session.user);
@@ -39,7 +39,7 @@ const App = () => {
<>
<CssBaseline />
<SocketController />
- <MainController />
+ <CachingController />
<Switch>
<Route exact path='/login' component={LoginPage} />
<Route>
diff --git a/modern/src/MainController.js b/modern/src/CachingController.js
index f8f6d684..7adb39b8 100644
--- a/modern/src/MainController.js
+++ b/modern/src/CachingController.js
@@ -4,7 +4,7 @@ import { geofencesActions } from './store';
import { useEffectAsync } from './reactHelper';
-const MainController = () => {
+const CachingController = () => {
const authenticated = useSelector(state => !!state.session.user);
const dispatch = useDispatch();
@@ -19,4 +19,4 @@ const MainController = () => {
return null;
}
-export default connect()(MainController);
+export default connect()(CachingController);