diff --git a/src/pages/Calendario.tsx b/src/pages/Calendario.tsx index 05171f5..d636c94 100644 --- a/src/pages/Calendario.tsx +++ b/src/pages/Calendario.tsx @@ -131,7 +131,9 @@ const CalendarioPage = () => {
{transaction.categoria} - {transaction.tipo.toLowerCase() === 'entrada' ? '' : '-'}{formatCurrency(Math.abs(transaction.valor))} + {transaction.tipo.toLowerCase() === 'entrada' + ? formatCurrency(transaction.valor) + : `-${formatCurrency(Math.abs(transaction.valor))}`}