/** * @file Application entry point. * @copyright nhcarrigan * @license Naomi's Public License * @author Naomi Carrigan */ /* eslint-disable import/no-unassigned-import -- CSS import has no exports to assign */ import { StrictMode } from "react"; import { createRoot } from "react-dom/client"; import { App } from "./app.js"; import { ErrorBoundary } from "./components/errorBoundary.js"; import { initialiseFrontendLogger } from "./utils/logger.js"; import "./styles.css"; initialiseFrontendLogger(); const rootElement = document.getElementById("root"); if (!rootElement) { throw new Error("Root element not found"); } createRoot(rootElement).render( , );