Merge pull request #15462 from overleaf/td-ide-page-add-file-tree-path-context

Add FileTreePathContext to React IDE page

GitOrigin-RevId: 7ebb2709973d54d0aef373660730b35bec4650d2
This commit is contained in:
Tim Down 2023-10-26 11:08:48 +01:00 committed by Copybot
parent c34c95b46d
commit 91781afb5e

View file

@ -16,6 +16,7 @@ import { OnlineUsersProvider } from '@/features/ide-react/context/online-users-c
import { MetadataProvider } from '@/features/ide-react/context/metadata-context'
import { ReferencesProvider } from '@/features/ide-react/context/references-context'
import { SplitTestProvider } from '@/shared/context/split-test-context'
import { FileTreePathProvider } from '@/features/file-tree/contexts/file-tree-path'
export const ReactContextRoot: FC = ({ children }) => {
return (
@ -25,29 +26,31 @@ export const ReactContextRoot: FC = ({ children }) => {
<UserProvider>
<ProjectProvider>
<FileTreeDataProvider>
<ReferencesProvider>
<DetachProvider>
<EditorProvider>
<ProjectSettingsProvider>
<LayoutProvider>
<LocalCompileProvider>
<DetachCompileProvider>
<ChatProvider>
<EditorManagerProvider>
<OnlineUsersProvider>
<MetadataProvider>
{children}
</MetadataProvider>
</OnlineUsersProvider>
</EditorManagerProvider>
</ChatProvider>
</DetachCompileProvider>
</LocalCompileProvider>
</LayoutProvider>
</ProjectSettingsProvider>
</EditorProvider>
</DetachProvider>
</ReferencesProvider>
<FileTreePathProvider>
<ReferencesProvider>
<DetachProvider>
<EditorProvider>
<ProjectSettingsProvider>
<LayoutProvider>
<LocalCompileProvider>
<DetachCompileProvider>
<ChatProvider>
<EditorManagerProvider>
<OnlineUsersProvider>
<MetadataProvider>
{children}
</MetadataProvider>
</OnlineUsersProvider>
</EditorManagerProvider>
</ChatProvider>
</DetachCompileProvider>
</LocalCompileProvider>
</LayoutProvider>
</ProjectSettingsProvider>
</EditorProvider>
</DetachProvider>
</ReferencesProvider>
</FileTreePathProvider>
</FileTreeDataProvider>
</ProjectProvider>
</UserProvider>