refactoring: payment receive form.

This commit is contained in:
a.bouhuolia
2021-02-17 19:45:18 +02:00
parent 95cccfd13b
commit e36817cb88
46 changed files with 775 additions and 325 deletions

View File

@@ -122,7 +122,7 @@ function InvoiceForm({
};
// Handle the request error.
const onError = (errors) => {
const onError = ({ response: { data: { errors } } }) => {
if (errors) {
handleErrors(errors, { setErrors });
}