Skip to content

Commit

Permalink
Voting: update VoteText's address rendering (aragon#1146)
Browse files Browse the repository at this point in the history
  • Loading branch information
sohkai authored May 15, 2020
1 parent ff49b5e commit 26e81fa
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions apps/voting/app/src/components/VoteText.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,11 @@ const VoteText = React.memo(
{i > 0 && <br />}
{transformAddresses(line, (part, isAddress, index) =>
isAddress ? (
<span title={part} key={index}>
{' '}
<LocalIdentityBadge
badgeOnly={disabled}
compact
entity={part}
/>{' '}
</span>
<LocalIdentityBadge
badgeOnly={disabled}
compact
entity={part}
/>
) : (
<span key={index}>{part}</span>
)
Expand Down

0 comments on commit 26e81fa

Please sign in to comment.