Update libs/orders/src/lib/order-hooks/use-order-validation.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
This commit is contained in:
parent
5b70a47800
commit
cfe7cd740f
@ -172,7 +172,7 @@ export const useOrderValidation = ({
|
|||||||
if (fieldErrors?.size?.type === 'required') {
|
if (fieldErrors?.size?.type === 'required') {
|
||||||
return {
|
return {
|
||||||
isDisabled: true,
|
isDisabled: true,
|
||||||
message: t('An amount needs to be provided'),
|
message: t('You need to provide an amount'),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user