overleaf/services/web/frontend/js/features/subscription/components/dashboard/root.tsx
Jessica Lawshe c8ef5e6f65 Merge pull request #11231 from overleaf/jel-react-subscriptions-dash-commons
[web] Migrate institution memberships dash to React

GitOrigin-RevId: 75bb8e7d7338418733a836a8e654fe5b0a9fceff
2023-01-18 15:09:28 +00:00

14 lines
289 B
TypeScript

import useWaitForI18n from '../../../../shared/hooks/use-wait-for-i18n'
import SubscriptionDashboard from './subscription-dashboard'
function Root() {
const { isReady } = useWaitForI18n()
if (!isReady) {
return null
}
return <SubscriptionDashboard />
}
export default Root