-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.tsx
34 lines (28 loc) · 1 KB
/
index.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import * as ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { IconButton, FeatherProvider, toast } from 'feather';
import 'intersection-observer';
import Cookies from 'universal-cookie';
import { AuthorizationContextProvider } from '@authorization';
import { FeatureFlagContextProvider } from '@utils/featureFlags';
import { ConnectedIntlProvider } from './intl';
import RootConnected from './root';
import { initializeStore } from './store';
window.dashboardSB = null as any;
window.cookies = new Cookies();
IconButton.setTooltipPortalId('portal_popup');
toast.rootElementID = 'portal_toast';
ReactDOM.render(
<FeatherProvider>
<Provider store={initializeStore}>
<FeatureFlagContextProvider>
<AuthorizationContextProvider>
<ConnectedIntlProvider>
<RootConnected />
</ConnectedIntlProvider>
</AuthorizationContextProvider>
</FeatureFlagContextProvider>
</Provider>
</FeatherProvider>,
document.getElementById('root'),
);