Skip to content

Commit

Permalink
fix: wrong order in the commission rate
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz committed Feb 14, 2024
1 parent c91d8b4 commit 8c57ab7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/AddressesPage/AddressDetailPage/AddressInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -519,8 +519,11 @@ function AddressInfo(props) {
<span>
{commissionRate !== undefined ? numberWithCommas(Number(commissionRate / 100).toFixed()) : 0 }%
<em>
({numberWithCommas(maxCommissionRate !== undefined ? numberWithCommas(Number(maxCommissionRate / 100).toFixed()) : 0)}% /{' '}
{numberWithCommas(maxCommissionChangeRate !== undefined ? numberWithCommas(Number(maxCommissionChangeRate / 100).toFixed()) : 0)}% )
(
{numberWithCommas(maxCommissionChangeRate !== undefined ? numberWithCommas(Number(maxCommissionChangeRate / 100).toFixed()) : 0)}%
/{' '}
{numberWithCommas(maxCommissionRate !== undefined ? numberWithCommas(Number(maxCommissionRate / 100).toFixed()) : 0)}%
)
</em>
</span>
</td>
Expand Down

0 comments on commit 8c57ab7

Please sign in to comment.