Skip to content

Commit

Permalink
fix: Fixed amount to receive decimals (#208)
Browse files Browse the repository at this point in the history
<!--- Provide a general summary of your changes in the Title above -->

## Description

The method was missing format decimal parameter

## Related Issue Or Context

Closes: #203 

## Types of changes

- [X] Bug fix (non-breaking change which fixes an issue)

## Checklist:

- [X] I have ensured that all acceptance criteria (or expected behavior)
from issue are met
  • Loading branch information
saadahmsiddiqui authored Jun 7, 2024
1 parent 1b1f92c commit be23500
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ export class FungibleTokenTransfer extends BaseComponent {
<span>
${tokenBalanceToNumber(
this.transferController.resourceAmount,
decimals!
decimals!,
4
)}
${symbol}
</span>
Expand Down

0 comments on commit be23500

Please sign in to comment.