disable name textfield

pull/5370/head
Aniket-Engg 2 years ago committed by Aniket
parent f2e5e863ab
commit 0f3d900ac9
  1. 3
      apps/etherscan/src/app/views/VerifyView.tsx

@ -66,7 +66,7 @@ export const VerifyView: React.FC<Props> = ({
const constructorTypes = constructorInputs.map(e => e.type)
let contractArguments = web3.eth.abi.encodeParameters(constructorTypes, constructorValues)
contractArguments = contractArguments.replace("0x", "")
verificationResult.current = await verify(
apiKey,
values.contractAddress,
@ -166,6 +166,7 @@ export const VerifyView: React.FC<Props> = ({
key={`contractArgName${index}`}
name={`contractArgName${index}`}
value={item.name}
disabled={true}
/>
<Field
className="form-control m-1"

Loading…
Cancel
Save