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