mon-entreprise/site/source/entry.fr.tsx

18 lines
436 B
TypeScript
Raw Normal View History

import { I18nProvider } from '@react-aria/i18n'
import rules from 'modele-social'
2018-07-12 08:09:41 +00:00
import { render } from 'react-dom'
import 'regenerator-runtime/runtime'
2018-07-12 08:09:41 +00:00
import App from './App'
import i18next from './locales/i18n'
import './sentry'
i18next.changeLanguage('fr')
const AppFr = () => (
<I18nProvider locale="fr-FR">
2021-12-27 11:46:40 +00:00
<App basename="mon-entreprise" rules={rules} />
</I18nProvider>
)
render(<AppFr />, document.querySelector('#js'))