don't display unrealized pnl until breakEven price exists
This commit is contained in:
parent
e033d84a5d
commit
d9f26f58ab
|
@ -200,7 +200,11 @@ const PositionsTable = () => {
|
|||
: '--'}
|
||||
</Td>
|
||||
<Td>
|
||||
<PnlText pnl={unrealizedPnl} />
|
||||
{breakEvenPrice ? (
|
||||
<PnlText pnl={unrealizedPnl} />
|
||||
) : (
|
||||
'--'
|
||||
)}
|
||||
</Td>
|
||||
{showMarketCloseModal ? (
|
||||
<MarketCloseModal
|
||||
|
|
Loading…
Reference in New Issue