Skip to content

Commit

Permalink
Fix a small regression in displaying account names
Browse files Browse the repository at this point in the history
  • Loading branch information
csillag committed Jan 14, 2025
1 parent 1d6eca6 commit 730d691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/Account/AccountLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const AccountLink: FC<Props> = ({
// isError, // Use this to indicate that we have failed to load the name for this account
} = useAccountMetadata(scope, address)
const accountName = accountMetadata?.name // TODO: we should also use the description
const showAccountName = !showAddressAsName && accountName
const showAccountName = !!showAddressAsName && !!accountName
const to = RouteUtils.getAccountRoute(scope, address)

const extraTooltipWithIcon = extraTooltip ? (
Expand Down

0 comments on commit 730d691

Please sign in to comment.