Skip to content

Commit

Permalink
Always show the address in any case (ChainSafe#256)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Snaith <[email protected]>
  • Loading branch information
Tbaut and asnaith authored Jul 15, 2023
1 parent 56d070a commit d3f6ef9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/ui/src/components/AccountDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ const AccountDisplay = ({
<NameStyled>{localName || mainDisplay}</NameStyled>
</NameWrapperStyled>
)}
{!withName ||
(encodedAddress && <AddressStyled>{getDisplayAddress(encodedAddress)}</AddressStyled>)}
<AddressStyled>{getDisplayAddress(encodedAddress)}</AddressStyled>
{withBalance && (
<Box>
<BalanceStyled>{balanceFormatted}</BalanceStyled>
Expand Down

0 comments on commit d3f6ef9

Please sign in to comment.