diff --git a/packages/page-toolbox/src/Verify.tsx b/packages/page-toolbox/src/Verify.tsx index edb0247097..b8fdc83e6d 100644 --- a/packages/page-toolbox/src/Verify.tsx +++ b/packages/page-toolbox/src/Verify.tsx @@ -6,7 +6,7 @@ import { KeypairType } from '@polkadot/util-crypto/types'; import React, { useCallback, useEffect, useState } from 'react'; import styled from 'styled-components'; -import { Dropdown, Icon, Input, InputAddress, Static } from '@polkadot/react-components'; +import { Badge, Dropdown, Input, InputAddress, Static } from '@polkadot/react-components'; import keyring from '@polkadot/ui-keyring'; import uiSettings from '@polkadot/ui-settings'; import { isHex } from '@polkadot/util'; @@ -20,23 +20,6 @@ interface Props { className?: string; } -const AlignedIcon = styled(Icon)` - &&&::before { - position: relative; - left: 0.88rem; - top: 1rem; - width: 32px; - height: 32px; - font-size: 32px; - background: white !important; - border-radius: 50%; - } - - &&&.big.icon { - font-size: 32px; - } -`; - function Verify ({ className = '' }: Props): React.ReactElement { const { t } = useTranslation(); const [{ cryptoType, isValid }, setValidity] = useState<{ cryptoType: CryptoTypes; isValid: boolean }>({ cryptoType: 'unknown', isValid: false }); @@ -131,10 +114,10 @@ function Verify ({ className = '' }: Props): React.ReactElement {