2020-12-19 03:38:04 +02:00
|
|
|
import React, { Suspense } from "react";
|
2020-12-08 02:41:21 +02:00
|
|
|
import ReactDOM from "react-dom";
|
2023-03-04 21:06:49 +02:00
|
|
|
import ThemeProvider from "./providers/ThemeProvider";
|
2023-03-03 08:48:10 +02:00
|
|
|
import CssBaseline from "@material-ui/core/CssBaseline";
|
2020-12-19 03:38:04 +02:00
|
|
|
import App from "./components/App";
|
2023-02-15 01:25:18 +02:00
|
|
|
import { TuitioProvider } from "@flare/tuitio-client-react";
|
2023-03-03 08:48:10 +02:00
|
|
|
import ToastProvider from "./providers/ToastProvider";
|
2023-03-05 00:49:07 +02:00
|
|
|
import SensitiveInfoProvider from "./providers/SensitiveInfoProvider";
|
2023-03-03 18:56:30 +02:00
|
|
|
import "./utils/i18n";
|
2020-12-08 02:05:31 +02:00
|
|
|
|
|
|
|
ReactDOM.render(
|
2023-03-03 08:48:10 +02:00
|
|
|
<TuitioProvider tuitioUrl={process.env.REACT_APP_TUITIO_URL}>
|
2023-03-05 00:49:07 +02:00
|
|
|
<ThemeProvider>
|
|
|
|
<CssBaseline />
|
|
|
|
<SensitiveInfoProvider>
|
2023-03-21 18:14:32 +02:00
|
|
|
<Suspense fallback={<div>Loading...</div>}>
|
|
|
|
<ToastProvider>
|
|
|
|
<App />
|
|
|
|
</ToastProvider>
|
|
|
|
</Suspense>
|
2023-03-05 00:49:07 +02:00
|
|
|
</SensitiveInfoProvider>
|
|
|
|
</ThemeProvider>
|
2023-03-03 08:48:10 +02:00
|
|
|
</TuitioProvider>,
|
2020-12-08 02:41:21 +02:00
|
|
|
document.getElementById("root")
|
2020-12-08 02:05:31 +02:00
|
|
|
);
|