fix(deal-ticket): clear price error on type change (#3908)

This commit is contained in:
Bartłomiej Głownia 2023-05-23 17:53:40 +02:00 committed by GitHub
parent 1d3298cdc9
commit d155909fe4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -304,7 +304,7 @@ export const DealTicket = ({
: order.postOnly,
expiresAt: undefined,
});
clearErrors('expiresAt');
clearErrors(['expiresAt', 'price']);
}}
market={market}
marketData={marketData}