Skip to content

Commit

Permalink
fix: display contract implementation text
Browse files Browse the repository at this point in the history
  • Loading branch information
tiendn committed Apr 13, 2023
1 parent 87b0c5e commit e2810ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion views/accounts/components/ContractOverview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ const ContractOverview = ({ addressData, address }: Props) => {
<div className={clsx(styles.borderBottom, 'row padding-bottom-sm padding-top-sm')}>
<span className="col-2 text text-base contrast-color-50">Implementation</span>
<LinkText classes="col-10" href={LinkMaker.address(addressData.implementationAddressHash)}>
{addressData.implementationAddressName} | {addressData.implementationAddressHash}
{addressData.implementationAddressName
? `${addressData.implementationAddressName} | ${addressData.implementationAddressHash}`
: addressData.implementationAddressHash}
</LinkText>
</div>
)}
Expand Down

0 comments on commit e2810ae

Please sign in to comment.