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";
|
|
|
|
import "./index.css";
|
2020-12-23 02:24:38 +02:00
|
|
|
import "./utils/i18n";
|
2020-12-19 03:38:04 +02:00
|
|
|
import App from "./components/App";
|
2020-12-16 02:34:07 +02:00
|
|
|
import { BrowserRouter as Router } from "react-router-dom";
|
2023-02-15 01:25:18 +02:00
|
|
|
import { TuitioProvider } from "@flare/tuitio-client-react";
|
2020-12-08 02:05:31 +02:00
|
|
|
|
|
|
|
ReactDOM.render(
|
2020-12-24 02:27:29 +02:00
|
|
|
<Router basename={process.env.PUBLIC_URL || ""}>
|
|
|
|
<Suspense fallback={<div>Loading...</div>}>
|
2023-02-14 01:36:06 +02:00
|
|
|
<TuitioProvider tuitioUrl={process.env.REACT_APP_TUITIO_URL}>
|
|
|
|
<App />
|
|
|
|
</TuitioProvider>
|
2020-12-24 02:27:29 +02:00
|
|
|
</Suspense>
|
|
|
|
</Router>,
|
2020-12-08 02:41:21 +02:00
|
|
|
document.getElementById("root")
|
2020-12-08 02:05:31 +02:00
|
|
|
);
|