Part of #44 Simplest renderer — no dynamic data, no icons, no variants. Migrate first as a smoke test for the satori setup. ## Tasks - [x] Create `scripts/renderers/ErrorCard.tsx` as a pure JSX component - [x] Replace `renderErrorCard.ts` body with a `satori(...)` call wrapping the new component - [x] Make the function `async`, update the call site in `api/stats.ts` - [x] Update `renderErrorCard.test.ts` to use `await` ## Depends on - Phase 1 (#44)
Part of #44
Simplest renderer — no dynamic data, no icons, no variants. Migrate first as a smoke test for the satori setup.
Tasks
scripts/renderers/ErrorCard.tsxas a pure JSX componentrenderErrorCard.tsbody with asatori(...)call wrapping the new componentasync, update the call site inapi/stats.tsrenderErrorCard.test.tsto useawaitDepends on