overleaf/services/web/frontend/js/features/ide-react/context/react-context-root.tsx
Tim Down 537673cdf6 Merge pull request #15415 from overleaf/td-scope-store-and-emitter-fixed
IDE scope store and emitter with fixed PDF URLs

GitOrigin-RevId: 9d33bad8a006bb55714878332f78932538dd8921
2023-10-25 08:05:07 +00:00

17 lines
574 B
TypeScript

import { ConnectionProvider } from './connection-context'
import { FC } from 'react'
import { IdeReactProvider } from '@/features/ide-react/context/ide-react-context'
import { ProjectProvider } from '@/shared/context/project-context'
import { UserProvider } from '@/shared/context/user-context'
export const ReactContextRoot: FC = ({ children }) => {
return (
<ConnectionProvider>
<IdeReactProvider>
<UserProvider>
<ProjectProvider>{children}</ProjectProvider>
</UserProvider>
</IdeReactProvider>
</ConnectionProvider>
)
}