Skip to content

Commit

Permalink
Allow to render validator links in ConsensusAccountDetailsView
Browse files Browse the repository at this point in the history
  • Loading branch information
buberdds committed Nov 13, 2024
1 parent 3a32a50 commit de35c66
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/app/components/Account/ConsensusAccountDetailsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { styled } from '@mui/material/styles'
import { useFormattedTimestampStringWithDistance } from '../../hooks/useFormattedTimestamp'
import { AccountAvatar } from '../AccountAvatar'
import { AccountSizeBadge } from '../AccountSizeBadge'
import { AccountLink } from './AccountLink'
import { ConsensusAccountLink } from './ConsensusAccountLink'
import { CopyToClipboard } from '../CopyToClipboard'
import { getPreciseNumberFormat } from '../../../locales/getPreciseNumberFormat'

Expand Down Expand Up @@ -60,8 +60,9 @@ export const ConsensusAccountDetailsView: FC<ConsensusAccountDetailsViewProps> =
</Box>
</StyledListTitleWithAvatar>
<dd>
<AccountLink
scope={account}
<ConsensusAccountLink
alwaysTrim={false}
network={account.network}
address={account.address}
highlightedPartOfName={highlightedPartOfName}
/>
Expand Down

0 comments on commit de35c66

Please sign in to comment.