DreadBin/frontend/src/index.tsx

19 lines
389 B
TypeScript
Raw Normal View History

2024-10-31 17:01:56 +00:00
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>
);