UI: Remove renderUnsafeAttackOptionsWarningModal from ConfigurePage

Nothing was using this function
This commit is contained in:
vakarisz 2022-07-08 12:16:30 +03:00
parent bac091f185
commit 50540da780
1 changed files with 0 additions and 11 deletions

View File

@ -44,7 +44,6 @@ class ConfigurePageComponent extends AuthComponent {
schema: {}, schema: {},
sections: [], sections: [],
selectedSection: this.currentSection, selectedSection: this.currentSection,
showUnsubmittedConfigWarning: false,
showUnsafeOptionsConfirmation: false, showUnsafeOptionsConfirmation: false,
showConfigExportModal: false, showConfigExportModal: false,
showConfigImportModal: false showConfigImportModal: false
@ -214,15 +213,6 @@ class ConfigurePageComponent extends AuthComponent {
); );
} }
renderUnsafeAttackOptionsWarningModal() {
return (
<UnsafeOptionsWarningModal
show={this.state.showUnsafeAttackOptionsWarning}
onContinueClick={this.onUnsafeAttackContinueClick}
/>
);
}
setSelectedSection = (key) => { setSelectedSection = (key) => {
this.resetLastAction(); this.resetLastAction();
this.updateConfigSection(); this.updateConfigSection();
@ -376,7 +366,6 @@ class ConfigurePageComponent extends AuthComponent {
{this.renderConfigExportModal()} {this.renderConfigExportModal()}
{this.renderConfigImportModal()} {this.renderConfigImportModal()}
{this.renderUnsafeOptionsConfirmationModal()} {this.renderUnsafeOptionsConfirmationModal()}
{this.renderUnsafeAttackOptionsWarningModal()}
<h1 className='page-title'>Monkey Configuration</h1> <h1 className='page-title'>Monkey Configuration</h1>
{this.renderNav()} {this.renderNav()}
{content} {content}