diff --git a/src/pages/Dashboard/RightSideBar/ValidatorListItem.tsx b/src/pages/Dashboard/RightSideBar/ValidatorListItem.tsx index 17e78ff7..8fa6e9c4 100644 --- a/src/pages/Dashboard/RightSideBar/ValidatorListItem.tsx +++ b/src/pages/Dashboard/RightSideBar/ValidatorListItem.tsx @@ -6,10 +6,13 @@ import { VerifiedIcon, ContactIcon } from '@status-im/icons'; type ValidatorListItemProps = { name: string; avatarKey: string; + isAvatarChipIncluded?: boolean; + isVerified?: boolean; selected?: boolean; + }; -const ValidatorListItem = ({ name, avatarKey, selected }: ValidatorListItemProps) => { +const ValidatorListItem = ({ name, avatarKey, selected, isAvatarChipIncluded, isVerified }: ValidatorListItemProps) => { const [hovered, setHovered] = useState(false); const [isSelected, setIsSelected] = useState(selected); @@ -51,7 +54,12 @@ const ValidatorListItem = ({ name, avatarKey, selected }: ValidatorListItemProps {name} - + {isVerified && ( + + )} + {isAvatarChipIncluded && ( + + )} {avatarKey}