diff options
author | Anton Tananaev <anton@traccar.org> | 2023-07-03 08:13:56 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-07-03 08:13:56 -0700 |
commit | e97b6771910d3e6809810561a0deb76caaf7e0d5 (patch) | |
tree | e8cc7e52695707243839b1b89c2ca001974febc9 /modern | |
parent | b5661c954a617cabcee9e7b82d8a4336ea0be5e4 (diff) | |
download | trackermap-web-e97b6771910d3e6809810561a0deb76caaf7e0d5.tar.gz trackermap-web-e97b6771910d3e6809810561a0deb76caaf7e0d5.tar.bz2 trackermap-web-e97b6771910d3e6809810561a0deb76caaf7e0d5.zip |
Apply theme to server loading
Diffstat (limited to 'modern')
-rw-r--r-- | modern/src/index.js | 11 |
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> |