Skip to content

Commit

Permalink
fix: format asset amount
Browse files Browse the repository at this point in the history
  • Loading branch information
CaioTeixeira95 committed Feb 23, 2024
1 parent 9d871ed commit e0af409
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/DisbursementDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import {

import "./styles.scss";
import BigNumber from "bignumber.js";
import { AssetAmount } from "components/AssetAmount";

interface DisbursementDetailsProps {
variant: DisbursementStep;
Expand Down Expand Up @@ -257,7 +258,10 @@ export const DisbursementDetails: React.FC<DisbursementDetailsProps> = ({
: "DisbursementDetailsFields__negative"
}`}
>
{futureBalance}
<AssetAmount
amount={futureBalance.toString()}
assetCode={details.asset.code}
/>
</div>
</div>

Expand Down

0 comments on commit e0af409

Please sign in to comment.