Skip to content

Commit

Permalink
πŸ› app: fix wrong amount in card activity details
Browse files Browse the repository at this point in the history
  • Loading branch information
dieguezguille committed Nov 27, 2024
1 parent d7d78fa commit 050f604
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/nine-walls-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@exactly/mobile": patch
---

πŸ› fix wrong amount in card activity details
2 changes: 1 addition & 1 deletion src/components/activity/details/OperationDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
</Text>
</XStack>
Expand Down

0 comments on commit 050f604

Please sign in to comment.