add in orders to token list mobile
This commit is contained in:
parent
02c1479511
commit
b761344a63
|
@ -298,6 +298,7 @@ const MobileTokenListItem = ({ bank }: { bank: BankWithBalance }) => {
|
||||||
|
|
||||||
const tokenBalance = bank.balance
|
const tokenBalance = bank.balance
|
||||||
const unsettled = spotBalances[mint.toString()]?.unsettled || 0
|
const unsettled = spotBalances[mint.toString()]?.unsettled || 0
|
||||||
|
const inOrders = spotBalances[mint.toString()]?.inOrders || 0
|
||||||
|
|
||||||
const collateralValue =
|
const collateralValue =
|
||||||
initContributions.find((val) => val.asset === tokenBank.name)
|
initContributions.find((val) => val.asset === tokenBank.name)
|
||||||
|
@ -380,6 +381,12 @@ const MobileTokenListItem = ({ bank }: { bank: BankWithBalance }) => {
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="col-span-1">
|
||||||
|
<p className="text-xs text-th-fgd-3">
|
||||||
|
{t('trade:in-orders')}
|
||||||
|
</p>
|
||||||
|
<BankAmountWithValue amount={inOrders} bank={tokenBank} />
|
||||||
|
</div>
|
||||||
<div className="col-span-1">
|
<div className="col-span-1">
|
||||||
<p className="text-xs text-th-fgd-3">
|
<p className="text-xs text-th-fgd-3">
|
||||||
{t('trade:unsettled')}
|
{t('trade:unsettled')}
|
||||||
|
|
Loading…
Reference in New Issue