mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
af76768eb7
[web] Add recaptcha to add-email GitOrigin-RevId: 0540e0dbc3103dcaac87dd7fabeedbc5892c371c
17 lines
531 B
JavaScript
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)
|
|
}
|