aboutsummaryrefslogtreecommitdiff
path: root/modern/src/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/App.js')
-rw-r--r--modern/src/App.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/modern/src/App.js b/modern/src/App.js
index a01451b4..ef5fd204 100644
--- a/modern/src/App.js
+++ b/modern/src/App.js
@@ -30,6 +30,8 @@ import MaintenancesPage from './settings/MaintenancesPage';
import MaintenancePage from './settings/MaintenancePage';
import StatisticsPage from './admin/StatisticsPage';
+import MainController from './MainController';
+
const App = () => {
const initialized = useSelector(state => !!state.session.server && !!state.session.user);
@@ -37,6 +39,7 @@ const App = () => {
<>
<CssBaseline />
<SocketController />
+ <MainController />
<Switch>
<Route exact path='/login' component={LoginPage} />
<Route>