2023-01-26 11:48:30 -05:00
|
|
|
import { SubscriptionDashboardProvider } from '../../context/subscription-dashboard-context'
|
2023-01-12 09:53:35 -05:00
|
|
|
import useWaitForI18n from '../../../../shared/hooks/use-wait-for-i18n'
|
2023-01-18 09:38:35 -05:00
|
|
|
import SubscriptionDashboard from './subscription-dashboard'
|
2024-04-30 10:58:34 -04:00
|
|
|
import { SplitTestProvider } from '@/shared/context/split-test-context'
|
2023-01-12 09:53:35 -05:00
|
|
|
|
|
|
|
function Root() {
|
|
|
|
const { isReady } = useWaitForI18n()
|
|
|
|
|
|
|
|
if (!isReady) {
|
|
|
|
return null
|
|
|
|
}
|
|
|
|
|
2023-01-26 11:48:30 -05:00
|
|
|
return (
|
2024-04-30 10:58:34 -04:00
|
|
|
<SplitTestProvider>
|
|
|
|
<SubscriptionDashboardProvider>
|
|
|
|
<SubscriptionDashboard />
|
|
|
|
</SubscriptionDashboardProvider>
|
|
|
|
</SplitTestProvider>
|
2023-01-26 11:48:30 -05:00
|
|
|
)
|
2023-01-12 09:53:35 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
export default Root
|