mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-02 08:39:38 -05:00
0639f266d8
[web] Redirect to invite screen if new user register with a pending group invitations GitOrigin-RevId: 39aeffd65b9d793c87e53398a700ad140794594e
14 lines
286 B
TypeScript
14 lines
286 B
TypeScript
import useWaitForI18n from '../../../../shared/hooks/use-wait-for-i18n'
|
|
import GroupInvites from './group-invites'
|
|
|
|
function GroupInvitesRoot() {
|
|
const { isReady } = useWaitForI18n()
|
|
|
|
if (!isReady) {
|
|
return null
|
|
}
|
|
|
|
return <GroupInvites />
|
|
}
|
|
|
|
export default GroupInvitesRoot
|