Fix provider order (#5046)

zio/stable
Eric Bailey 2024-08-30 18:26:03 -05:00 committed by GitHub
parent ed232e69f7
commit 3d992f6bb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 22 additions and 22 deletions

View File

@ -172,12 +172,12 @@ function App() {
* that is set up in the InnerApp component above. * that is set up in the InnerApp component above.
*/ */
return ( return (
<I18nProvider>
<A11yProvider> <A11yProvider>
<KeyboardProvider enabled={false} statusBarTranslucent={true}> <KeyboardProvider enabled={false} statusBarTranslucent={true}>
<SessionProvider> <SessionProvider>
<ShellStateProvider>
<PrefsStateProvider> <PrefsStateProvider>
<I18nProvider>
<ShellStateProvider>
<InvitesStateProvider> <InvitesStateProvider>
<ModalStateProvider> <ModalStateProvider>
<DialogStateProvider> <DialogStateProvider>
@ -191,12 +191,12 @@ function App() {
</DialogStateProvider> </DialogStateProvider>
</ModalStateProvider> </ModalStateProvider>
</InvitesStateProvider> </InvitesStateProvider>
</PrefsStateProvider>
</ShellStateProvider> </ShellStateProvider>
</I18nProvider>
</PrefsStateProvider>
</SessionProvider> </SessionProvider>
</KeyboardProvider> </KeyboardProvider>
</A11yProvider> </A11yProvider>
</I18nProvider>
) )
} }

View File

@ -151,11 +151,11 @@ function App() {
* that is set up in the InnerApp component above. * that is set up in the InnerApp component above.
*/ */
return ( return (
<I18nProvider>
<A11yProvider> <A11yProvider>
<SessionProvider> <SessionProvider>
<ShellStateProvider>
<PrefsStateProvider> <PrefsStateProvider>
<I18nProvider>
<ShellStateProvider>
<InvitesStateProvider> <InvitesStateProvider>
<ModalStateProvider> <ModalStateProvider>
<DialogStateProvider> <DialogStateProvider>
@ -169,11 +169,11 @@ function App() {
</DialogStateProvider> </DialogStateProvider>
</ModalStateProvider> </ModalStateProvider>
</InvitesStateProvider> </InvitesStateProvider>
</PrefsStateProvider>
</ShellStateProvider> </ShellStateProvider>
</I18nProvider>
</PrefsStateProvider>
</SessionProvider> </SessionProvider>
</A11yProvider> </A11yProvider>
</I18nProvider>
) )
} }