From a225935815ad6e284f2ad1411321614c84ff3692 Mon Sep 17 00:00:00 2001 From: port <108868128+portdeveloper@users.noreply.github.com> Date: Sat, 23 Mar 2024 20:55:06 +0300 Subject: [PATCH] Hide Implementation Address if there is no impl addy --- .../components/scaffold-eth/Contract/ContractUI.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/nextjs/components/scaffold-eth/Contract/ContractUI.tsx b/packages/nextjs/components/scaffold-eth/Contract/ContractUI.tsx index 28f19c69..15c91a6d 100644 --- a/packages/nextjs/components/scaffold-eth/Contract/ContractUI.tsx +++ b/packages/nextjs/components/scaffold-eth/Contract/ContractUI.tsx @@ -222,10 +222,12 @@ export const ContractUI = ({ className = "", initialContractData }: ContractUIPr {displayContractName}
-
- Implementation Address -
-
+ {implementationAddress && ( +
+ Implementation Address +
+
+ )}
Balance: