0eaaa54e25
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
18 lines
467 B
TypeScript
18 lines
467 B
TypeScript
/**
|
|
* Frontend entry point: mounts the React root component (the frontend SPA is only
|
|
* responsible for rendering and interaction).
|
|
*/
|
|
import { StrictMode } from "react";
|
|
import { createRoot } from "react-dom/client";
|
|
import { App } from "./app";
|
|
import "./styles.css";
|
|
|
|
const container = document.getElementById("root");
|
|
if (!container) throw new Error("#root mount point not found");
|
|
|
|
createRoot(container).render(
|
|
<StrictMode>
|
|
<App />
|
|
</StrictMode>,
|
|
);
|