From 1edb7ff0020879029db1797e8cb3edb75d05d0bd Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Wed, 2 Mar 2022 06:40:50 -0300 Subject: [PATCH] Supress address legend for mint/burn address roles --- src/components/DecoratedAddressLink.tsx | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/components/DecoratedAddressLink.tsx b/src/components/DecoratedAddressLink.tsx index 03763f8..f84a14d 100644 --- a/src/components/DecoratedAddressLink.tsx +++ b/src/components/DecoratedAddressLink.tsx @@ -90,11 +90,17 @@ const DecoratedAddressLink: React.FC = ({ selectedAddress={selectedAddress} dontOverrideColors={mint || burn} /> - {eoa === true && ( - (EOA) - )} - {eoa === false && ( - (C) + {!mint && !burn && ( + <> + {eoa === true && ( + + (EOA) + + )} + {eoa === false && ( + (C) + )} + )} );