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}
|
selectedAddress={selectedAddress}
|
||||||
dontOverrideColors={mint || burn}
|
dontOverrideColors={mint || burn}
|
||||||
/>
|
/>
|
||||||
{eoa === true && (
|
{!mint && !burn && (
|
||||||
<AddressLegend title="Externally owned account">(EOA)</AddressLegend>
|
<>
|
||||||
)}
|
{eoa === true && (
|
||||||
{eoa === false && (
|
<AddressLegend title="Externally owned account">
|
||||||
<AddressLegend title="Contract account">(C)</AddressLegend>
|
(EOA)
|
||||||
|
</AddressLegend>
|
||||||
|
)}
|
||||||
|
{eoa === false && (
|
||||||
|
<AddressLegend title="Contract account">(C)</AddressLegend>
|
||||||
|
)}
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue