diff --git a/governance/ui/src/components/CouncilTabs/CouncilTabs.tsx b/governance/ui/src/components/CouncilTabs/CouncilTabs.tsx index 4f8b7823b..7cf3da698 100644 --- a/governance/ui/src/components/CouncilTabs/CouncilTabs.tsx +++ b/governance/ui/src/components/CouncilTabs/CouncilTabs.tsx @@ -162,7 +162,6 @@ export default function CouncilTabs({ activeCouncil }: { activeCouncil: CouncilS {councilPeriod === '2' && utils.isAddress(voteAddressState) ? ( {userInformation[index].userInformation?.address && ( {user ? ( - + ) : ( - + - + - + - + - + { - return ( - <> - {imageSrc ? ( - - {!!newVoteCast && ( - - )} - - - ) : ( - (address || !!newVoteCast) && ( - - {!!newVoteCast && ( - - )} - - - ) - )} - - ); + if (address || newVoteCast) { + return ( + + {!!newVoteCast && ( + + )} + + + ); + } + return null; }; diff --git a/governance/ui/src/components/UserProfileCard/UserProfileDetails.tsx b/governance/ui/src/components/UserProfileCard/UserProfileDetails.tsx index 6e578455d..428402d90 100644 --- a/governance/ui/src/components/UserProfileCard/UserProfileDetails.tsx +++ b/governance/ui/src/components/UserProfileCard/UserProfileDetails.tsx @@ -125,7 +125,7 @@ export const UserProfileDetails = ({ _hover={{}} /> )} - + - +