mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-18 07:52:15 -05:00
14 lines
238 B
TypeScript
14 lines
238 B
TypeScript
|
import useWaitForI18n from '../../../../shared/hooks/use-wait-for-i18n'
|
||
|
|
||
|
function Root() {
|
||
|
const { isReady } = useWaitForI18n()
|
||
|
|
||
|
if (!isReady) {
|
||
|
return null
|
||
|
}
|
||
|
|
||
|
return <h2>React Subscription Success</h2>
|
||
|
}
|
||
|
|
||
|
export default Root
|