overleaf/services/web/frontend/js/pages/user/confirm-secondary-email.tsx

11 lines
356 B
TypeScript
Raw Normal View History

import '../../marketing'
import ReactDOM from 'react-dom'
import ConfirmSecondaryEmailForm from '../../features/settings/components/emails/confirm-secondary-email-form'
const confirmEmailContainer = document.getElementById('confirm-secondary-email')
if (confirmEmailContainer) {
ReactDOM.render(<ConfirmSecondaryEmailForm />, confirmEmailContainer)
}