fix typos in messages (#21594)

This commit is contained in:
medayz 2020-02-26 04:27:15 +01:00 committed by GitHub
parent 4584a62d54
commit b617b41dcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,14 +81,14 @@ const PriceInput: React.FC<PriceInputProps> = ({ value = {}, onChange }) => {
const Demo = () => {
const onFinish = values => {
console.log('Received values of form: ', values);
console.log('Received values from form: ', values);
};
const checkPrice = (rule, value) => {
if (value.number > 0) {
return Promise.resolve();
}
return Promise.reject('Price must greater than zero!');
return Promise.reject('Price must be greater than zero!');
};
return (