mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-16 02:40:39 +09:00
7 lines
235 B
TypeScript
7 lines
235 B
TypeScript
|
|
import { createRoot } from "react-dom/client";
|
||
|
|
import { App } from "./harness.js";
|
||
|
|
|
||
|
|
const container = document.getElementById("root");
|
||
|
|
if (!container) throw new Error("No #root in harness host");
|
||
|
|
createRoot(container).render(<App />);
|