Supress address legend for mint/burn address roles
This commit is contained in:
parent
ddfd0fb935
commit
1edb7ff002
|
@ -90,11 +90,17 @@ const DecoratedAddressLink: React.FC<DecoratedAddressLinkProps> = ({
|
|||
selectedAddress={selectedAddress}
|
||||
dontOverrideColors={mint || burn}
|
||||
/>
|
||||
{eoa === true && (
|
||||
<AddressLegend title="Externally owned account">(EOA)</AddressLegend>
|
||||
)}
|
||||
{eoa === false && (
|
||||
<AddressLegend title="Contract account">(C)</AddressLegend>
|
||||
{!mint && !burn && (
|
||||
<>
|
||||
{eoa === true && (
|
||||
<AddressLegend title="Externally owned account">
|
||||
(EOA)
|
||||
</AddressLegend>
|
||||
)}
|
||||
{eoa === false && (
|
||||
<AddressLegend title="Contract account">(C)</AddressLegend>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue