From 9f7f3c249870e71b8dbd3b6c46b41b5a55e6e8bf Mon Sep 17 00:00:00 2001 From: vakarisz Date: Tue, 19 Apr 2022 13:14:18 +0300 Subject: [PATCH] UI: Rename "StartOverModal" to "ResetIslandModal" --- .../cc/ui/src/components/pages/ResetPage.js | 12 ++++++------ .../{StartOverModal.js => IslandResetModal.js} | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) rename monkey/monkey_island/cc/ui/src/components/ui-components/{StartOverModal.js => IslandResetModal.js} (96%) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/ResetPage.js b/monkey/monkey_island/cc/ui/src/components/pages/ResetPage.js index 857aa478a..6d0c5bb98 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ResetPage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ResetPage.js @@ -2,7 +2,7 @@ import React from 'react'; import {Col, Button} from 'react-bootstrap'; import {Link} from 'react-router-dom'; import AuthComponent from '../AuthComponent'; -import StartOverModal from '../ui-components/StartOverModal'; +import IslandResetModal from '../ui-components/IslandResetModal'; import '../../styles/pages/StartOverPage.scss'; import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'; import {faInfoCircle} from '@fortawesome/free-solid-svg-icons/faInfoCircle'; @@ -38,11 +38,11 @@ class ResetPageComponent extends AuthComponent { - +

Reset

diff --git a/monkey/monkey_island/cc/ui/src/components/ui-components/StartOverModal.js b/monkey/monkey_island/cc/ui/src/components/ui-components/IslandResetModal.js similarity index 96% rename from monkey/monkey_island/cc/ui/src/components/ui-components/StartOverModal.js rename to monkey/monkey_island/cc/ui/src/components/ui-components/IslandResetModal.js index 0718fdaa6..8639e46a3 100644 --- a/monkey/monkey_island/cc/ui/src/components/ui-components/StartOverModal.js +++ b/monkey/monkey_island/cc/ui/src/components/ui-components/IslandResetModal.js @@ -5,7 +5,7 @@ import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'; import {faExclamationTriangle} from '@fortawesome/free-solid-svg-icons/faExclamationTriangle'; -class StartOverModal extends React.PureComponent { +class IslandResetModal extends React.PureComponent { constructor(props) { super(props); @@ -73,4 +73,4 @@ class StartOverModal extends React.PureComponent { } } -export default StartOverModal; +export default IslandResetModal;