conditional text to select a compiled contract

pull/5370/head
Aniket-Engg 2 years ago committed by Aniket
parent 897f486a3a
commit 68dc56cd85
  1. 2
      apps/etherscan/src/app/views/VerifyView.tsx

@ -125,7 +125,7 @@ export const VerifyView: React.FC<Props> = ({
}}
>
<option disabled={true} value="">
Select a contract
{ contracts.length ? 'Select a contract' : `--- No compiled contracts ---` }
</option>
{contracts.map((item) => (
<option key={item} value={item}>

Loading…
Cancel
Save