diff --git a/ui/address/contract/ContractCode.tsx b/ui/address/contract/ContractCode.tsx
index e10df2b9fe..471e5e09d2 100644
--- a/ui/address/contract/ContractCode.tsx
+++ b/ui/address/contract/ContractCode.tsx
@@ -269,7 +269,8 @@ const ContractCode = ({ addressHash, contractQuery, channel }: Props) => {
) }
{ typeof data.optimization_enabled === 'boolean' &&
}
- { data.optimization_runs && }
+ { data.optimization_runs !== null &&
+ }
{ data.verified_at &&
}
{ data.file_path && }