/** * Application entry point. * * Mounts the root `` component into the `#root` DOM element * supplied by `index.html`. */ import { StrictMode } from "react"; import { createRoot } from "react-dom/client"; import App from "./App"; const rootElement = document.getElementById("root"); if (rootElement === null) { throw new Error( "Root element #root not found. Ensure index.html contains
." ); } createRoot(rootElement).render( );