diff --git a/src/components/General/ValidatorNameAddress.tsx b/src/components/General/ValidatorNameAddress.tsx index c44fa505..67a1af89 100644 --- a/src/components/General/ValidatorNameAddress.tsx +++ b/src/components/General/ValidatorNameAddress.tsx @@ -7,7 +7,7 @@ import { CheckIcon, } from '@status-im/icons' import { useState } from 'react' -import { useNavigate } from 'react-router-dom' +import { Link } from 'react-router-dom' import { copyFunction, getFormattedValidatorAddress } from '../../utilities' @@ -25,7 +25,6 @@ const ValidatorNameAddress = ({ isAvatarChipIncluded, }: ValidatorNameAddressProps) => { const [isCopied, setIsCopied] = useState(false) - const navigate = useNavigate() const onCopyAddress = () => { copyFunction(address) @@ -39,20 +38,13 @@ const ValidatorNameAddress = ({ } } - const onNavigateToManageValidator = () => { - navigate(`/manage-validator/${name}`) - } - return ( - + - Validator {name} + + Validator {name} + {isVerified && } {isAvatarChipIncluded && }