From f73ed19e77f170f537b9993192cac9069585699f Mon Sep 17 00:00:00 2001 From: elforjani3 Date: Sun, 22 Nov 2020 10:45:50 +0200 Subject: [PATCH] Fix: Edit Customer. --- client/src/containers/Customers/CustomerForm.js | 2 +- client/src/containers/Customers/CustomersTabs.js | 13 +++---------- .../src/containers/Customers/withCustomerDetail.js | 2 +- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/client/src/containers/Customers/CustomerForm.js b/client/src/containers/Customers/CustomerForm.js index ed38b29aa..8c0d5ac62 100644 --- a/client/src/containers/Customers/CustomerForm.js +++ b/client/src/containers/Customers/CustomerForm.js @@ -250,7 +250,7 @@ function CustomerForm({
- +
} + panel={} /> ({ - customerDetail: getCustomerById(state, props.customerId), + customer: getCustomerById(state, props.customerId), }); export default connect(mapStateToProps);