2023-01-12 09:53:35 -05:00
|
|
|
import useWaitForI18n from '../../../../shared/hooks/use-wait-for-i18n'
|
2023-03-01 04:32:55 -05:00
|
|
|
import { SubscriptionDashboardProvider } from '../../context/subscription-dashboard-context'
|
|
|
|
import SuccessfulSubscription from './successful-subscription'
|
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-03-01 04:32:55 -05:00
|
|
|
return (
|
2024-04-30 10:58:34 -04:00
|
|
|
<SplitTestProvider>
|
|
|
|
<SubscriptionDashboardProvider>
|
|
|
|
<SuccessfulSubscription />
|
|
|
|
</SubscriptionDashboardProvider>
|
|
|
|
</SplitTestProvider>
|
2023-03-01 04:32:55 -05:00
|
|
|
)
|
2023-01-12 09:53:35 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
export default Root
|