|
|
@ -94,7 +94,7 @@ export const VerifyView: React.FC<Props> = ({ |
|
|
|
<div className="form-group"> |
|
|
|
<div className="form-group"> |
|
|
|
<label htmlFor="network">Selected Network</label>
|
|
|
|
<label htmlFor="network">Selected Network</label>
|
|
|
|
<Field |
|
|
|
<Field |
|
|
|
className="form-control form-control-sm" |
|
|
|
className="form-control" |
|
|
|
type="text" |
|
|
|
type="text" |
|
|
|
name="network" |
|
|
|
name="network" |
|
|
|
value={networkName} |
|
|
|
value={networkName} |
|
|
@ -108,8 +108,8 @@ export const VerifyView: React.FC<Props> = ({ |
|
|
|
as="select" |
|
|
|
as="select" |
|
|
|
className={ |
|
|
|
className={ |
|
|
|
errors.contractName && touched.contractName && contracts.length |
|
|
|
errors.contractName && touched.contractName && contracts.length |
|
|
|
? "form-control form-control-sm is-invalid" |
|
|
|
? "form-control is-invalid" |
|
|
|
: "form-control form-control-sm" |
|
|
|
: "form-control" |
|
|
|
} |
|
|
|
} |
|
|
|
name="contractName" |
|
|
|
name="contractName" |
|
|
|
onChange={async (e) => { |
|
|
|
onChange={async (e) => { |
|
|
@ -140,8 +140,8 @@ export const VerifyView: React.FC<Props> = ({ |
|
|
|
<Field |
|
|
|
<Field |
|
|
|
className={ |
|
|
|
className={ |
|
|
|
errors.contractArguments && touched.contractArguments |
|
|
|
errors.contractArguments && touched.contractArguments |
|
|
|
? "form-control form-control-sm is-invalid" |
|
|
|
? "form-control is-invalid" |
|
|
|
: "form-control form-control-sm" |
|
|
|
: "form-control" |
|
|
|
} |
|
|
|
} |
|
|
|
type="text" |
|
|
|
type="text" |
|
|
|
name="contractArguments" |
|
|
|
name="contractArguments" |
|
|
@ -159,8 +159,8 @@ export const VerifyView: React.FC<Props> = ({ |
|
|
|
<Field |
|
|
|
<Field |
|
|
|
className={ |
|
|
|
className={ |
|
|
|
errors.contractAddress && touched.contractAddress |
|
|
|
errors.contractAddress && touched.contractAddress |
|
|
|
? "form-control form-control-sm is-invalid" |
|
|
|
? "form-control is-invalid" |
|
|
|
: "form-control form-control-sm" |
|
|
|
: "form-control" |
|
|
|
} |
|
|
|
} |
|
|
|
type="text" |
|
|
|
type="text" |
|
|
|
name="contractAddress" |
|
|
|
name="contractAddress" |
|
|
|