mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
c1a9085a11
[web] Use recaptcha.net for captcha when adding email GitOrigin-RevId: 51e7a4792414ca9c8c3f167a359b6e637230991d
18 lines
556 B
JavaScript
18 lines
556 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,
|
|
useRecaptchaNet: true,
|
|
}
|
|
if (element) {
|
|
ReactDOM.render(<SettingsPageRoot />, element)
|
|
}
|