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";
|
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>}>
|
|
|
|
<App />
|
|
|
|
</Suspense>
|
|
|
|
</Router>,
|
2020-12-08 02:41:21 +02:00
|
|
|
document.getElementById("root")
|
2020-12-08 02:05:31 +02:00
|
|
|
);
|