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,
|
||||
expiresAt: undefined,
|
||||
});
|
||||
clearErrors('expiresAt');
|
||||
clearErrors(['expiresAt', 'price']);
|
||||
}}
|
||||
market={market}
|
||||
marketData={marketData}
|
||||
|
Loading…
Reference in New Issue
Block a user