Merge branch 'feature/notify-via-SMS' of https://github.com/bigcapitalhq/client into feature/notify-via-SMS

This commit is contained in:
a.bouhuolia
2021-11-09 09:56:53 +02:00
13 changed files with 115 additions and 36 deletions

View File

@@ -53,7 +53,9 @@ function NotifyInvoiceViaSMSForm({
data: { errors },
},
}) => {
transformErrors(errors);
if (errors) {
transformErrors(errors, { setErrors });
}
setSubmitting(false);
};
// Transformes the form values to request.