overleaf/services/web/frontend/js/pages/user/settings.jsx

18 lines
531 B
React
Raw Normal View History

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)
}