Island UI: remove unnecessary setting of this.currentFormData in ConfigurePage.js because it's a state variable

This commit is contained in:
VakarisZ 2021-07-19 12:23:49 +03:00
parent f376c12db1
commit 491c44a13b
1 changed files with 0 additions and 1 deletions

View File

@ -65,7 +65,6 @@ class ConfigurePageComponent extends AuthComponent {
setInitialConfig(config) { setInitialConfig(config) {
// Sets a reference to know if config was changed // Sets a reference to know if config was changed
config['attack'] = {} config['attack'] = {}
this.currentFormData = {}
this.initialConfig = JSON.parse(JSON.stringify(config)); this.initialConfig = JSON.parse(JSON.stringify(config));
} }