mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-02 00:11:12 -05:00
Move ModalsContextProvider up the context tree (#16095)
GitOrigin-RevId: 2f978f410624597c747f32a84853393a5771582c
This commit is contained in:
parent
82499334a1
commit
389d16aad1
1 changed files with 34 additions and 34 deletions
|
@ -24,6 +24,7 @@ import { PermissionsProvider } from '@/features/ide-react/context/permissions-co
|
||||||
export const ReactContextRoot: FC = ({ children }) => {
|
export const ReactContextRoot: FC = ({ children }) => {
|
||||||
return (
|
return (
|
||||||
<SplitTestProvider>
|
<SplitTestProvider>
|
||||||
|
<ModalsContextProvider>
|
||||||
<ConnectionProvider>
|
<ConnectionProvider>
|
||||||
<IdeReactProvider>
|
<IdeReactProvider>
|
||||||
<UserProvider>
|
<UserProvider>
|
||||||
|
@ -40,7 +41,6 @@ export const ReactContextRoot: FC = ({ children }) => {
|
||||||
<LocalCompileProvider>
|
<LocalCompileProvider>
|
||||||
<DetachCompileProvider>
|
<DetachCompileProvider>
|
||||||
<ChatProvider>
|
<ChatProvider>
|
||||||
<ModalsContextProvider>
|
|
||||||
<EditorManagerProvider>
|
<EditorManagerProvider>
|
||||||
<OnlineUsersProvider>
|
<OnlineUsersProvider>
|
||||||
<MetadataProvider>
|
<MetadataProvider>
|
||||||
|
@ -48,7 +48,6 @@ export const ReactContextRoot: FC = ({ children }) => {
|
||||||
</MetadataProvider>
|
</MetadataProvider>
|
||||||
</OnlineUsersProvider>
|
</OnlineUsersProvider>
|
||||||
</EditorManagerProvider>
|
</EditorManagerProvider>
|
||||||
</ModalsContextProvider>
|
|
||||||
</ChatProvider>
|
</ChatProvider>
|
||||||
</DetachCompileProvider>
|
</DetachCompileProvider>
|
||||||
</LocalCompileProvider>
|
</LocalCompileProvider>
|
||||||
|
@ -65,6 +64,7 @@ export const ReactContextRoot: FC = ({ children }) => {
|
||||||
</UserProvider>
|
</UserProvider>
|
||||||
</IdeReactProvider>
|
</IdeReactProvider>
|
||||||
</ConnectionProvider>
|
</ConnectionProvider>
|
||||||
|
</ModalsContextProvider>
|
||||||
</SplitTestProvider>
|
</SplitTestProvider>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue