Pure `nix fmt` output from the commit before this one — no hand edits. 203 files: 52 md, 42 tsx, 32 js, 32 css, 21 ts, 13 html, 8 json, 3 mjs. Reproduce with `nix develop -c nix fmt` on the parent commit; the result should be byte-identical to this tree. None of the 13 `.prettierignore` entries appears here — verified by intersecting the changed-file list against the ignore file, with a control proving the intersection finds a match when one exists.
14 lines
674 B
TypeScript
14 lines
674 B
TypeScript
// Entry point for the Preact rewrite of the per-agent terminal page
|
|
// (replacing app.js's imperative DOM). Landed in small, reviewable
|
|
// slices (component by component) per mara's "one pr != one commit"
|
|
// note on the issue; now the sole page — app.js is deleted,
|
|
// `index.html`'s `<script>` tag points here.
|
|
//
|
|
// Mounts to `#preact-root`, the only content `index.html`'s `<body>`
|
|
// declares now — no more coexisting-with-legacy-markup sibling div,
|
|
// that was only needed while both pages built in parallel.
|
|
import { render } from "preact";
|
|
import { Root } from "./Root.js";
|
|
|
|
const root = document.getElementById("preact-root");
|
|
if (root) render(<Root />, root);
|