exclude constuctor arguments to be required

pull/5370/head
Aniket-Engg 2 years ago committed by Aniket
parent 81e16f4a56
commit 4d688ee3dc
  1. 2
      apps/etherscan/src/app/views/VerifyView.tsx

@ -182,10 +182,8 @@ export const VerifyView: React.FC<Props> = ({
isSubmitting={isSubmitting} isSubmitting={isSubmitting}
disable={ !contracts.length || disable={ !contracts.length ||
!touched.contractName || !touched.contractName ||
(showConstructorArgs && !touched.contractArguments) ||
!touched.contractAddress || !touched.contractAddress ||
(touched.contractName && errors.contractName) || (touched.contractName && errors.contractName) ||
(showConstructorArgs && touched.contractArguments && errors.contractArguments) ||
(touched.contractAddress && errors.contractAddress) (touched.contractAddress && errors.contractAddress)
? true ? true
: false} : false}

Loading…
Cancel
Save