From 64aa0d73473b09df83d8ec92cb2f3dc87de75713 Mon Sep 17 00:00:00 2001 From: elforjani3 Date: Sat, 13 Feb 2021 15:33:29 +0200 Subject: [PATCH] fix: customer. --- client/src/containers/Customers/CustomerForm/CustomerForm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/containers/Customers/CustomerForm/CustomerForm.js b/client/src/containers/Customers/CustomerForm/CustomerForm.js index 9f8c4231f..4705491ac 100644 --- a/client/src/containers/Customers/CustomerForm/CustomerForm.js +++ b/client/src/containers/Customers/CustomerForm/CustomerForm.js @@ -126,7 +126,7 @@ function CustomerForm({ }; if (customer && customer.id) { - editCustomerMutate(customer.id, formValues) + editCustomerMutate([customer.id, formValues]) .then(onSuccess) .catch(onError); } else {