network-resurrector/src/index.js

16 lines
413 B
JavaScript
Raw Normal View History

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";
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")
);