Commit d06a0c78 authored by Roman's avatar Roman

BRCD-1762 fix(Customer) - JS error, incorrect function name

parent 865594a5
...@@ -81,7 +81,7 @@ class Customer extends Component { ...@@ -81,7 +81,7 @@ class Customer extends Component {
this.props.onChange(e); this.props.onChange(e);
}; };
onChangeCustomField = (fieldPath) => { onRemoveCustomField = (fieldPath) => {
this.props.onRemoveField(fieldPath); this.props.onRemoveField(fieldPath);
}; };
......
...@@ -132,7 +132,7 @@ class CustomerSetup extends Component { ...@@ -132,7 +132,7 @@ class CustomerSetup extends Component {
this.props.dispatch(updateCustomerField(id, value)); this.props.dispatch(updateCustomerField(id, value));
} }
onChangeCustomerField = (path) => { onRemoveCustomerField = (path) => {
this.props.dispatch(removeCustomerField(path)); this.props.dispatch(removeCustomerField(path));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment