round unsettled balance decimals
This commit is contained in:
parent
c1eda608a1
commit
04aa01ba6a
|
@ -465,8 +465,16 @@ const BalancesTable = ({
|
|||
balance.borrows.toFormat(balance.decimals)
|
||||
)}
|
||||
</Td>
|
||||
<Td>{balance.orders}</Td>
|
||||
<Td>{balance.unsettled}</Td>
|
||||
<Td>
|
||||
{balance.orders?.toLocaleString(undefined, {
|
||||
maximumFractionDigits: balance.decimals,
|
||||
})}
|
||||
</Td>
|
||||
<Td>
|
||||
{balance.unsettled?.toLocaleString(undefined, {
|
||||
maximumFractionDigits: balance.decimals,
|
||||
})}
|
||||
</Td>
|
||||
<Td>
|
||||
{marketConfig.kind === 'spot' &&
|
||||
marketConfig.name.includes(balance.symbol) &&
|
||||
|
|
Loading…
Reference in New Issue