network-resurrector/src/index.js

15 lines
348 B
JavaScript
Raw Normal View History

2020-12-08 02:41:21 +02:00
import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "./App";
2020-12-16 02:34:07 +02:00
import { BrowserRouter as Router } from "react-router-dom";
ReactDOM.render(
<React.StrictMode>
2020-12-16 02:34:07 +02:00
<Router basename={process.env.PUBLIC_URL || ""}>
<App />
</Router>
</React.StrictMode>,
2020-12-08 02:41:21 +02:00
document.getElementById("root")
);