aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-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 ef5fd20..7f8a582 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 f8f6d68..7adb39b 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);