obs-portal/frontend/src/index.js
2022-07-28 13:56:18 +02:00

27 lines
521 B
JavaScript

import React, {Suspense} from 'react'
import {Settings} from 'luxon'
import ReactDOM from 'react-dom'
import 'fomantic-ui-less/semantic.less'
import './index.css'
import App from './App'
import 'maplibre-gl/dist/maplibre-gl.css'
import {Provider} from 'react-redux'
import store from './store'
import './i18n'
// TODO: remove
Settings.defaultLocale = 'de-DE'
ReactDOM.render(
<Provider store={store}>
<Suspense fallback={null}>
<App />
</Suspense>
</Provider>,
document.getElementById('root')
)