forked from p15670423/monkey
UI: Remove unneeded variable data
This commit is contained in:
parent
24397ce3ea
commit
8f417f52ce
|
@ -170,10 +170,9 @@ class ConfigurePageComponent extends AuthComponent {
|
|||
}
|
||||
|
||||
onChange = (formData) => {
|
||||
let data = formData;
|
||||
let configuration = this.state.configuration;
|
||||
configuration[this.state.selectedSection] = data;
|
||||
this.setState({currentFormData: data, configuration: configuration});
|
||||
configuration[this.state.selectedSection] = formData;
|
||||
this.setState({currentFormData: formData, configuration: configuration});
|
||||
};
|
||||
|
||||
onCredentialChange = (credentials) => {
|
||||
|
|
Loading…
Reference in New Issue