mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
537673cdf6
IDE scope store and emitter with fixed PDF URLs GitOrigin-RevId: 9d33bad8a006bb55714878332f78932538dd8921
17 lines
574 B
TypeScript
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>
|
|
)
|
|
}
|