The shared quick-pay / toggle-paid mutation hooks are now typed: PayableRow for the row refs, typed mutation payloads, and Dollars for the money amounts (so the branded type flows through — a caller must supply branded dollars). Strict catch clauses narrowed via an errMessage(unknown) helper. typecheck + lint (react-hooks now enforced on this .ts) + build + 48 tests green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| lib | ||
| pages | ||
| public/img | ||
| App.jsx | ||
| api.js | ||
| index.css | ||
| main.jsx | ||