Merge branch 'feature/react-query' of https://github.com/abouolia/Ratteb into feature/react-query

This commit is contained in:
a.bouhuolia
2021-02-15 12:04:33 +02:00
2 changed files with 3 additions and 5 deletions

View File

@@ -116,7 +116,7 @@ function CustomerForm({
};
if (customer && customer.id) {
editCustomerMutate(customer.id, formValues)
editCustomerMutate([customer.id, formValues])
.then(onSuccess)
.catch(onError);
} else {