forked from hummingbird-me/kitsu-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.tsx
More file actions
23 lines (20 loc) · 735 Bytes
/
index.tsx
File metadata and controls
23 lines (20 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import React from 'react';
import { ToasterContextProvider } from 'app/components/Toaster/Context';
import { AccountContextProvider } from './AccountContext';
import IntlProvider from './IntlContext';
import { SessionContextProvider } from './SessionContext';
import UrqlContextProvider from './UrqlContext';
const ApplicationContext: React.FC = function ({ children }) {
return (
<SessionContextProvider>
<UrqlContextProvider>
<IntlProvider>
<AccountContextProvider>
<ToasterContextProvider>{children}</ToasterContextProvider>
</AccountContextProvider>
</IntlProvider>
</UrqlContextProvider>
</SessionContextProvider>
);
};
export default ApplicationContext;