overleaf/services/web/frontend/js/pages/user/settings.jsx
Jakob Ackermann 9daa8f5d98 Merge pull request #15040 from overleaf/jpa-js-to-jsx
[web] rename all the JSX files to .jsx/.tsx

GitOrigin-RevId: 82056ae47e017523722cf258dcc83c8a925a28f7
2023-09-29 08:04:29 +00:00

17 lines
531 B
JavaScript

import '../../marketing'
import './../../utils/meta'
import './../../utils/webpack-public-path'
import './../../infrastructure/error-reporter'
import './../../i18n'
import '../../features/settings/components/root'
import ReactDOM from 'react-dom'
import SettingsPageRoot from '../../features/settings/components/root.tsx'
const element = document.getElementById('settings-page-root')
// For react-google-recaptcha
window.recaptchaOptions = {
enterprise: true,
}
if (element) {
ReactDOM.render(<SettingsPageRoot />, element)
}