don't show base on unsettled table
This commit is contained in:
parent
fce0f5a3f6
commit
b3a494fae1
|
@ -144,8 +144,7 @@ const UnsettledTrades = ({
|
|||
<thead>
|
||||
<TrHead>
|
||||
<Th className="bg-th-bkg-1 text-left">{t('market')}</Th>
|
||||
<Th className="bg-th-bkg-1 text-right">{t('trade:base')}</Th>
|
||||
<Th className="bg-th-bkg-1 text-right">{t('trade:quote')}</Th>
|
||||
<Th className="bg-th-bkg-1 text-right">{t('trade:amount')}</Th>
|
||||
<Th className="bg-th-bkg-1 text-right" />
|
||||
</TrHead>
|
||||
</thead>
|
||||
|
@ -163,16 +162,20 @@ const UnsettledTrades = ({
|
|||
<TableMarketName market={market} />
|
||||
</Td>
|
||||
<Td className="text-right font-mono">
|
||||
{unsettledSpotBalances[mktAddress].base || 0.0}{' '}
|
||||
<span className="font-body tracking-wide text-th-fgd-4">
|
||||
{base}
|
||||
</span>
|
||||
</Td>
|
||||
<Td className="text-right font-mono">
|
||||
{unsettledSpotBalances[mktAddress].quote || 0.0}{' '}
|
||||
<span className="font-body tracking-wide text-th-fgd-4">
|
||||
{quote}
|
||||
</span>
|
||||
<div className="flex">
|
||||
<div>
|
||||
{unsettledSpotBalances[mktAddress].base || 0.0}{' '}
|
||||
<span className="font-body tracking-wide text-th-fgd-4">
|
||||
{base}
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
{unsettledSpotBalances[mktAddress].quote || 0.0}{' '}
|
||||
<span className="font-body tracking-wide text-th-fgd-4">
|
||||
{quote}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</Td>
|
||||
<Td>
|
||||
<div className="flex justify-end">
|
||||
|
@ -202,9 +205,6 @@ const UnsettledTrades = ({
|
|||
<Td>
|
||||
<TableMarketName market={market} />
|
||||
</Td>
|
||||
<Td className="text-right font-mono">
|
||||
<span></span>
|
||||
</Td>
|
||||
<Td className="text-right font-mono">
|
||||
{position.getEquityUi(group, market)}
|
||||
</Td>
|
||||
|
|
Loading…
Reference in New Issue