2023-10-16 07:10:43 -04:00
|
|
|
import { ConnectionProvider } from './connection-context'
|
|
|
|
import { FC } from 'react'
|
2023-10-24 10:57:17 -04:00
|
|
|
import { IdeReactProvider } from '@/features/ide-react/context/ide-react-context'
|
|
|
|
import { ProjectProvider } from '@/shared/context/project-context'
|
|
|
|
import { UserProvider } from '@/shared/context/user-context'
|
2023-10-16 07:10:43 -04:00
|
|
|
|
|
|
|
export const ReactContextRoot: FC = ({ children }) => {
|
2023-10-24 10:57:17 -04:00
|
|
|
return (
|
|
|
|
<ConnectionProvider>
|
|
|
|
<IdeReactProvider>
|
|
|
|
<UserProvider>
|
|
|
|
<ProjectProvider>{children}</ProjectProvider>
|
|
|
|
</UserProvider>
|
|
|
|
</IdeReactProvider>
|
|
|
|
</ConnectionProvider>
|
|
|
|
)
|
2023-10-16 07:10:43 -04:00
|
|
|
}
|