import "@kuhyx/web-ui/tokens.css"; import "./index.css"; import { createRoot } from "react-dom/client"; import { App } from "./app.tsx"; // Thin enough to test rather than exclude. This repository treats a coverage // omit as a suppression, and "the DOM bootstrap is awkward to assert" is the // same sentence as "this code is untested". export function mount(container: Element): void { createRoot(container).render(); } const root = document.querySelector("#root"); if (root !== null) { mount(root); }