import ReactDOM from "react-dom/client"; import App from "./App"; import { BrowserRouter as Router } from "react-router-dom"; ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render( );