chore(trading): remove iceberg side order details (#4540)
This commit is contained in:
parent
bf4fb29fe6
commit
39aa27f332
@ -222,23 +222,6 @@ export const OrderViewDialog = ({
|
||||
{order.icebergOrder ? t('Yes') : t('-')}
|
||||
</div>
|
||||
</KeyValueTableRow>
|
||||
{order.icebergOrder && (
|
||||
<KeyValueTableRow key={'order-side'} className="ml-4">
|
||||
<div data-testid={'order-side-label'}>{t('Side')}</div>
|
||||
<div
|
||||
data-testid={`order-side-value`}
|
||||
className={classNames('text-right', {
|
||||
// BUY
|
||||
'text-market-green-600 dark:text-market-green':
|
||||
order.side === Schema.Side.SIDE_BUY,
|
||||
// SELL
|
||||
'text-market-red': order.side === Schema.Side.SIDE_SELL,
|
||||
})}
|
||||
>
|
||||
{Schema.SideMapping[order.side as Schema.Side]}
|
||||
</div>
|
||||
</KeyValueTableRow>
|
||||
)}
|
||||
{order.icebergOrder && (
|
||||
<KeyValueTableRow
|
||||
key={'order-iceberg-order-peak-size'}
|
||||
|
Loading…
Reference in New Issue
Block a user