From fd3b9a5151b74ab7c356653bbccefa41247e260e Mon Sep 17 00:00:00 2001 From: Alexandre Monjol Date: Fri, 30 Aug 2024 13:55:14 -0300 Subject: [PATCH] bug: fix invoice tax aount --- src/pages/CreateInvoice.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/pages/CreateInvoice.tsx b/src/pages/CreateInvoice.tsx index cd37b9ce3..feb2961ea 100644 --- a/src/pages/CreateInvoice.tsx +++ b/src/pages/CreateInvoice.tsx @@ -1002,12 +1002,9 @@ const CreateInvoice = () => { ? null : !hasAnyFee ? '-' - : intlFormatNumber( - deserializeAmount(taxToDisplay.amount || 0, currency), - { - currency, - }, - )} + : intlFormatNumber(taxToDisplay.amount, { + currency, + })} )