import { StrictMode } from "react"; import { createRoot } from "react-dom/client"; import "./styles.css"; import App from "./App.tsx"; const root = document.getElementById("root"); if (!root) { throw new Error("The application root was not found."); } createRoot(root).render( , );