mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
[web] Migrate team invite to React GitOrigin-RevId: 32e968c3b512020aef9a396808c73a7b4859e6d1
11 lines
261 B
TypeScript
11 lines
261 B
TypeScript
import useWaitForI18n from '@/shared/hooks/use-wait-for-i18n'
|
|
import GroupInvite from './group-invite/group-invite'
|
|
|
|
export default function InviteRoot() {
|
|
const { isReady } = useWaitForI18n()
|
|
|
|
if (!isReady) {
|
|
return null
|
|
}
|
|
return <GroupInvite />
|
|
}
|