fix(deal-ticket): clear price error on type change (#3908)
This commit is contained in:
parent
1d3298cdc9
commit
d155909fe4
@ -304,7 +304,7 @@ export const DealTicket = ({
|
|||||||
: order.postOnly,
|
: order.postOnly,
|
||||||
expiresAt: undefined,
|
expiresAt: undefined,
|
||||||
});
|
});
|
||||||
clearErrors('expiresAt');
|
clearErrors(['expiresAt', 'price']);
|
||||||
}}
|
}}
|
||||||
market={market}
|
market={market}
|
||||||
marketData={marketData}
|
marketData={marketData}
|
||||||
|
Loading…
Reference in New Issue
Block a user