aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modern/src/index.js11
1 files changed, 5 insertions, 6 deletions
diff --git a/modern/src/index.js b/modern/src/index.js
index a4aecc1a..6473e2cd 100644
--- a/modern/src/index.js
+++ b/modern/src/index.js
@@ -26,17 +26,16 @@ root.render(
<Provider store={store}>
<LocalizationProvider>
<StyledEngineProvider injectFirst>
- <CssBaseline />
- <ServerProvider>
- <AppThemeProvider>
- <CssBaseline />
+ <AppThemeProvider>
+ <CssBaseline />
+ <ServerProvider>
<BrowserRouter>
<Navigation />
</BrowserRouter>
<ErrorHandler />
<NativeInterface />
- </AppThemeProvider>
- </ServerProvider>
+ </ServerProvider>
+ </AppThemeProvider>
</StyledEngineProvider>
</LocalizationProvider>
</Provider>