overleaf/services/web/frontend/js/pages/user/add-secondary-email.tsx
David 635aae7b1f Merge pull request #18320 from overleaf/dp-add-secondary-prompt-ui
Add secondary email form V2 (with Captcha this time)

GitOrigin-RevId: b06216a2c9cb5b3b09305a17992eca506a0047f5
2024-05-27 10:22:40 +00:00

12 lines
369 B
TypeScript

import '../../marketing'
import ReactDOM from 'react-dom'
import { AddSecondaryEmailPrompt } from '../../features/settings/components/emails/add-secondary-email-prompt'
const addSecondaryEmailContainer = document.getElementById(
'add-secondary-email'
)
if (addSecondaryEmailContainer) {
ReactDOM.render(<AddSecondaryEmailPrompt />, addSecondaryEmailContainer)
}