diff --git a/packages/page-staking/src/Actions/Account/SetControllerAccount.tsx b/packages/page-staking/src/Actions/Account/SetControllerAccount.tsx index 11ddf088fe..b5c7958de7 100644 --- a/packages/page-staking/src/Actions/Account/SetControllerAccount.tsx +++ b/packages/page-staking/src/Actions/Account/SetControllerAccount.tsx @@ -3,19 +3,18 @@ // of the Apache-2.0 license. See the LICENSE file for details. import React, { useState } from 'react'; -import { Icon, InputAddress, Modal, TxButton } from '@polkadot/react-components'; +import { InputAddress, Modal, TxButton } from '@polkadot/react-components'; import { useTranslation } from '../../translate'; import InputValidationController from './InputValidationController'; interface Props { defaultControllerId: string; - isValidating?: boolean; onClose: () => void; stashId: string; } -function SetControllerAccount ({ defaultControllerId, isValidating, onClose, stashId }: Props): React.ReactElement { +function SetControllerAccount ({ defaultControllerId, onClose, stashId }: Props): React.ReactElement { const { t } = useTranslation(); const [, setControllerError] = useState(null); const [controllerId, setControllerId] = useState(null); @@ -27,14 +26,6 @@ function SetControllerAccount ({ defaultControllerId, isValidating, onClose, sta size='small' > - {isValidating && ( -
-
- - {t('Warning - Changing the controller while validating will modify the associated session account. It is advised to stop validating before changing the controller account.')} -
-
- )}