diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-22 16:35:26 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-22 16:35:26 -0700 |
commit | ada71496b699fe487680b0f2233bf3d5afb206ff (patch) | |
tree | bbef789f99a184f615f16e7fb3858a9049db2793 /modern/src/index.js | |
parent | d447490a186a473dc398a9214fd37c5180fdcf7d (diff) | |
download | trackermap-web-ada71496b699fe487680b0f2233bf3d5afb206ff.tar.gz trackermap-web-ada71496b699fe487680b0f2233bf3d5afb206ff.tar.bz2 trackermap-web-ada71496b699fe487680b0f2233bf3d5afb206ff.zip |
Update lint
Diffstat (limited to 'modern/src/index.js')
-rw-r--r-- | modern/src/index.js | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/modern/src/index.js b/modern/src/index.js index cb6710d5..43462d35 100644 --- a/modern/src/index.js +++ b/modern/src/index.js @@ -11,14 +11,16 @@ import { LocalizationProvider } from './common/components/LocalizationProvider'; const base = window.location.href.indexOf('modern') >= 0 ? '/modern' : null; -ReactDOM.render(( - <Provider store={store}> - <LocalizationProvider> - <BrowserRouter basename={base}> - <App /> - </BrowserRouter> - </LocalizationProvider> - </Provider> -), document.getElementById('root')); +ReactDOM.render( + ( + <Provider store={store}> + <LocalizationProvider> + <BrowserRouter basename={base}> + <App /> + </BrowserRouter> + </LocalizationProvider> + </Provider> + ), document.getElementById('root'), +); serviceWorker.register(); |