2016-12-22 14:09:16 +01:00
|
|
|
import 'whatwg-fetch';
|
2022-04-01 10:28:15 +02:00
|
|
|
import 'themes/app.css';
|
2022-05-05 17:15:22 +02:00
|
|
|
import 'regenerator-runtime/runtime';
|
2019-03-11 21:10:45 +01:00
|
|
|
|
2016-11-10 14:26:24 +01:00
|
|
|
import ReactDOM from 'react-dom';
|
2022-05-05 13:42:18 +02:00
|
|
|
import { BrowserRouter } from 'react-router-dom';
|
2022-05-02 15:52:41 +02:00
|
|
|
import { ThemeProvider } from 'themes/ThemeProvider';
|
2022-04-01 10:28:15 +02:00
|
|
|
import { App } from 'component/App';
|
|
|
|
import { ScrollTop } from 'component/common/ScrollTop/ScrollTop';
|
2022-05-02 15:52:41 +02:00
|
|
|
import { AccessProvider } from 'component/providers/AccessProvider/AccessProvider';
|
2022-05-19 14:06:18 +02:00
|
|
|
import { basePath } from 'utils/formatPath';
|
2022-03-31 09:23:46 +02:00
|
|
|
import { FeedbackCESProvider } from 'component/feedback/FeedbackCESContext/FeedbackCESProvider';
|
2022-04-22 14:03:58 +02:00
|
|
|
import { AnnouncerProvider } from 'component/common/Announcer/AnnouncerProvider/AnnouncerProvider';
|
2022-05-19 14:06:18 +02:00
|
|
|
import { InstanceStatus } from 'component/common/InstanceStatus/InstanceStatus';
|
2022-08-23 14:20:02 +02:00
|
|
|
import { UIProviderContainer } from 'component/providers/UIProvider/UIProviderContainer';
|
2016-11-10 14:26:24 +01:00
|
|
|
|
|
|
|
ReactDOM.render(
|
2022-08-23 14:20:02 +02:00
|
|
|
<UIProviderContainer>
|
2022-05-25 11:40:20 +02:00
|
|
|
<AccessProvider>
|
|
|
|
<BrowserRouter basename={basePath}>
|
|
|
|
<ThemeProvider>
|
|
|
|
<AnnouncerProvider>
|
|
|
|
<FeedbackCESProvider>
|
|
|
|
<InstanceStatus>
|
|
|
|
<ScrollTop />
|
|
|
|
<App />
|
|
|
|
</InstanceStatus>
|
|
|
|
</FeedbackCESProvider>
|
|
|
|
</AnnouncerProvider>
|
|
|
|
</ThemeProvider>
|
|
|
|
</BrowserRouter>
|
|
|
|
</AccessProvider>
|
2022-08-23 14:20:02 +02:00
|
|
|
</UIProviderContainer>,
|
2017-08-28 19:15:47 +02:00
|
|
|
document.getElementById('app')
|
|
|
|
);
|