Fix: resolve build error caused by syntax glitch in Financeiro.tsx

This commit is contained in:
Sidney 2026-05-14 15:23:09 -03:00
parent 5bc102dbc9
commit 1ed6a1bc55
1 changed files with 2 additions and 3 deletions

View File

@ -179,9 +179,8 @@ export default function Financeiro() {
} }
// If we have a boleto and it is overdue or paid, use current Asaas value // If we have a boleto and it is overdue or paid, use current Asaas value
if ((status === 'overdue' || status === 'paid') && (boleto as any).valor) { if (boleto && (status === 'overdue' || status === 'paid') && (boleto as any).valor) {
return Number((boleto as any).valor); return Number((boleto as any).valor);
}
} }
// Default: use the discounted base value (net amount) // Default: use the discounted base value (net amount)