Files
penguin-harness/packages/web/src/main.tsx
T
Yaowei Zheng 0eaaa54e25 Make English the repository working language (#5)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-20 17:45:02 +08:00

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>,
);