conditional text to select a compiled contract

migrate-contract-deployer
Aniket-Engg 2 years ago committed by Aniket
parent 47d6d65955
commit 9545ddb155
  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