DreadBin/frontend/src/index.tsx

19 lines
389 B
TypeScript

import React from "react";
import ReactDOM from "react-dom/client";
import "./index.css";
import "./assets/night-owl.css";
import App from "./App";
import { BrowserRouter } from "react-router-dom";
const root = ReactDOM.createRoot(
document.getElementById("root") as HTMLElement
);
root.render(
<React.StrictMode>
<BrowserRouter>
<App/>
</BrowserRouter>
</React.StrictMode>
);