2021-03-23 09:09:10 +00:00
|
|
|
import rules from 'modele-social'
|
2018-07-12 08:09:41 +00:00
|
|
|
import { render } from 'react-dom'
|
2019-08-20 12:21:42 +00:00
|
|
|
import 'regenerator-runtime/runtime'
|
2018-07-12 08:09:41 +00:00
|
|
|
import App from './App'
|
2021-01-18 13:34:27 +00:00
|
|
|
import i18next from './locales/i18n'
|
2021-11-30 15:09:05 +00:00
|
|
|
import { I18nProvider } from '@react-aria/i18n'
|
|
|
|
|
2021-05-03 11:28:31 +00:00
|
|
|
import './sentry'
|
2020-04-25 13:27:34 +00:00
|
|
|
|
|
|
|
i18next.changeLanguage('fr')
|
2018-08-28 13:59:41 +00:00
|
|
|
|
2020-05-05 00:20:50 +00:00
|
|
|
const anchor = document.querySelector('#js')
|
2021-11-30 15:09:05 +00:00
|
|
|
render(
|
|
|
|
<I18nProvider locale="fr-FR">
|
2021-12-27 11:46:40 +00:00
|
|
|
<App basename="mon-entreprise" rules={rules} />
|
2021-11-30 15:09:05 +00:00
|
|
|
</I18nProvider>,
|
|
|
|
anchor
|
|
|
|
)
|