Files
accounted/app
Mattsson 25b969183c fix(invoices): wrap the Visa PDF handler so the click event is not read as options (#2403)
The review pass on #2401 gave previewPDF an options parameter but left the
button's onClick as a bare reference, so TypeScript saw a MouseEvent flowing
into { asDraft?: boolean } and the production build failed (Core Build and
the Vercel deploy on 4e8d649b2). Prod stayed on the previous deploy.

Refs #2399


Claude-Session: https://claude.ai/code/session_01RZiqSg2v6XrtaFZyyRK88b

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-08 01:32:21 +02:00
..