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) => {
|
onChange = (formData) => {
|
||||||
let data = formData;
|
|
||||||
let configuration = this.state.configuration;
|
let configuration = this.state.configuration;
|
||||||
configuration[this.state.selectedSection] = data;
|
configuration[this.state.selectedSection] = formData;
|
||||||
this.setState({currentFormData: data, configuration: configuration});
|
this.setState({currentFormData: formData, configuration: configuration});
|
||||||
};
|
};
|
||||||
|
|
||||||
onCredentialChange = (credentials) => {
|
onCredentialChange = (credentials) => {
|
||||||
|
|
Loading…
Reference in New Issue