overleaf/services/web/frontend/js/pages/user/subscription/group-invites.tsx
M Fahru 0639f266d8 Merge pull request #14756 from overleaf/mf-group-invite-new-user-redirection
[web] Redirect to invite screen if new user register with a pending group invitations

GitOrigin-RevId: 39aeffd65b9d793c87e53398a700ad140794594e
2023-11-10 09:04:23 +00:00

8 lines
277 B
TypeScript

import './base'
import ReactDOM from 'react-dom'
import GroupInvitesRoot from '@/features/subscription/components/group-invites/group-invites-root'
const element = document.getElementById('group-invites-root')
if (element) {
ReactDOM.render(<GroupInvitesRoot />, element)
}