fix(portal): prefix unused totalOutstanding param with underscore

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 <noreply@paperclip.ing>
This commit is contained in:
Barkley Trimsworth
2026-03-29 19:55:06 +00:00
parent adcb794019
commit 9caa03723c
@@ -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<Set<string>>(new Set(outstanding.map(i => i.id)));
const [isProcessing, setIsProcessing] = useState(false);
const [isComplete, setIsComplete] = useState(false);