From a018aa859ced7e477d6429a166afa0cb96a17332 Mon Sep 17 00:00:00 2001 From: tom Date: Mon, 16 Oct 2023 18:09:53 -0300 Subject: [PATCH] move verification button higher for partially verified contracts --- ui/address/contract/ContractCode.tsx | 23 ++++++++++++++---- ...pw.tsx_default_verified-via-sourcify-1.png | Bin 13259 -> 15454 bytes 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/ui/address/contract/ContractCode.tsx b/ui/address/contract/ContractCode.tsx index a96c969f33..465602befd 100644 --- a/ui/address/contract/ContractCode.tsx +++ b/ui/address/contract/ContractCode.tsx @@ -86,13 +86,23 @@ const ContractCode = ({ addressHash, noSocket }: Props) => { return ; } - const canBeVerified = !data?.is_self_destructed && (!data?.is_verified || data.is_partially_verified); + const canBeVerified = !data?.is_self_destructed && !data?.is_verified; - const verificationButton = isPlaceholderData ? : ( + const verificationButton = isPlaceholderData ? ( + + ) : (