From 9caa03723caf6a74ff82088af64037332d1bdb8e Mon Sep 17 00:00:00 2001 From: Barkley Trimsworth Date: Sun, 29 Mar 2026 19:55:06 +0000 Subject: [PATCH] fix(portal): prefix unused totalOutstanding param with underscore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Silence @typescript-eslint/no-unused-vars for totalOutstanding in PaymentModal — it is accepted as a prop for API compatibility but the modal computes selectedTotal from selected invoices instead. Co-Authored-By: Paperclip --- apps/web/src/portal/sections/BillingPayments.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/portal/sections/BillingPayments.tsx b/apps/web/src/portal/sections/BillingPayments.tsx index 5869e1f..489f87d 100644 --- a/apps/web/src/portal/sections/BillingPayments.tsx +++ b/apps/web/src/portal/sections/BillingPayments.tsx @@ -216,7 +216,7 @@ export function BillingPayments({ readOnly }: Props) { ); } -function PaymentModal({ outstanding, totalOutstanding, onClose }: { outstanding: Invoice[]; totalOutstanding: number; onClose: () => void }) { +function PaymentModal({ outstanding, totalOutstanding: _totalOutstanding, onClose }: { outstanding: Invoice[]; totalOutstanding: number; onClose: () => void }) { const [selectedInvoices, setSelectedInvoices] = useState>(new Set(outstanding.map(i => i.id))); const [isProcessing, setIsProcessing] = useState(false); const [isComplete, setIsComplete] = useState(false);