From 491c44a13bacc6c14c08d7ddde331812c07b00a1 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Mon, 19 Jul 2021 12:23:49 +0300 Subject: [PATCH] Island UI: remove unnecessary setting of this.currentFormData in ConfigurePage.js because it's a state variable --- monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js | 1 - 1 file changed, 1 deletion(-) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js index d7caea154..4d7fdd2d0 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js @@ -65,7 +65,6 @@ class ConfigurePageComponent extends AuthComponent { setInitialConfig(config) { // Sets a reference to know if config was changed config['attack'] = {} - this.currentFormData = {} this.initialConfig = JSON.parse(JSON.stringify(config)); }