diff --git a/.changeset/nine-walls-build.md b/.changeset/nine-walls-build.md new file mode 100644 index 00000000..b6a84813 --- /dev/null +++ b/.changeset/nine-walls-build.md @@ -0,0 +1,5 @@ +--- +"@exactly/mobile": patch +--- + +🐛 fix wrong amount in card activity details diff --git a/src/components/activity/details/OperationDetails.tsx b/src/components/activity/details/OperationDetails.tsx index 66af067f..d04c7f5e 100644 --- a/src/components/activity/details/OperationDetails.tsx +++ b/src/components/activity/details/OperationDetails.tsx @@ -62,7 +62,7 @@ export default function OperationDetails({ item }: { item: CreditActivity | Debi {item.mode === 1 && `1x ${Number(item.amount + item.borrow.fee).toFixed(2)}`} {item.mode > 1 && `${(item as InstallmentsActivity).borrow.installments.length}x`}  {item.mode > 1 && - Number(item.amount / (item as InstallmentsActivity).borrow.installments.length).toFixed(2)} + Number(item.usdAmount / (item as InstallmentsActivity).borrow.installments.length).toFixed(2)}  USDC