mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-18 08:52:19 -05:00
2499ecadcc
[web] Begin to migrate personal subscription dash commons to React GitOrigin-RevId: 43c096bd72199c8c0a7b40c8fd84a0a12c108217
19 lines
467 B
TypeScript
19 lines
467 B
TypeScript
import { SubscriptionDashboardProvider } from '../../context/subscription-dashboard-context'
|
|
import useWaitForI18n from '../../../../shared/hooks/use-wait-for-i18n'
|
|
import SubscriptionDashboard from './subscription-dashboard'
|
|
|
|
function Root() {
|
|
const { isReady } = useWaitForI18n()
|
|
|
|
if (!isReady) {
|
|
return null
|
|
}
|
|
|
|
return (
|
|
<SubscriptionDashboardProvider>
|
|
<SubscriptionDashboard />
|
|
</SubscriptionDashboardProvider>
|
|
)
|
|
}
|
|
|
|
export default Root
|