From 688548893d4d54d69e6e8abcd08abf86e120c11f Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sun, 18 May 2025 02:32:30 +0000 Subject: [PATCH] Fix: Calendar revenue sign Corrects the display of revenue transactions in the calendar view to remove the negative sign. --- src/pages/Calendario.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Calendario.tsx b/src/pages/Calendario.tsx index 7e0110d..05171f5 100644 --- a/src/pages/Calendario.tsx +++ b/src/pages/Calendario.tsx @@ -131,7 +131,7 @@ const CalendarioPage = () => {
{transaction.categoria} - {transaction.tipo.toLowerCase() === 'entrada' ? '+' : '-'}{formatCurrency(Math.abs(transaction.valor))} + {transaction.tipo.toLowerCase() === 'entrada' ? '' : '-'}{formatCurrency(Math.abs(transaction.valor))}