diff --git a/src/components/General/ValidatorProfile.tsx b/src/components/General/ValidatorProfile.tsx index 3d0f2282..e6c7eb0f 100644 --- a/src/components/General/ValidatorProfile.tsx +++ b/src/components/General/ValidatorProfile.tsx @@ -1,8 +1,7 @@ -import { Avatar, Text } from '@status-im/components' -import { XStack, YStack } from 'tamagui' +import { Avatar } from '@status-im/components' +import { XStack } from 'tamagui' -import { getFormattedValidatorAddress } from '../../utilities' -import { CopyIcon } from '@status-im/icons' +import ValidatorNameAddress from './ValidatorNameAddress' type ValidatorProfileProps = { number: number @@ -10,10 +9,6 @@ type ValidatorProfileProps = { } const ValidatorProfile = ({ number, address }: ValidatorProfileProps) => { - const onCopyAddress = () => { - navigator.clipboard.writeText(address) - } - return ( { name={number.toString()} indicator="online" /> - - - Validator {number} - - - - {getFormattedValidatorAddress(address)} - - - - + ) }