From 50540da780e9010c0b7114c6210b82f4ce2dc2a6 Mon Sep 17 00:00:00 2001 From: vakarisz Date: Fri, 8 Jul 2022 12:16:30 +0300 Subject: [PATCH] UI: Remove renderUnsafeAttackOptionsWarningModal from ConfigurePage Nothing was using this function --- .../cc/ui/src/components/pages/ConfigurePage.js | 11 ----------- 1 file changed, 11 deletions(-) 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 dc42c996c..872e642c5 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js @@ -44,7 +44,6 @@ class ConfigurePageComponent extends AuthComponent { schema: {}, sections: [], selectedSection: this.currentSection, - showUnsubmittedConfigWarning: false, showUnsafeOptionsConfirmation: false, showConfigExportModal: false, showConfigImportModal: false @@ -214,15 +213,6 @@ class ConfigurePageComponent extends AuthComponent { ); } - renderUnsafeAttackOptionsWarningModal() { - return ( - - ); - } - setSelectedSection = (key) => { this.resetLastAction(); this.updateConfigSection(); @@ -376,7 +366,6 @@ class ConfigurePageComponent extends AuthComponent { {this.renderConfigExportModal()} {this.renderConfigImportModal()} {this.renderUnsafeOptionsConfirmationModal()} - {this.renderUnsafeAttackOptionsWarningModal()}

Monkey Configuration

{this.renderNav()} {content}