tooltip fot selected network

pull/3818/head
Aniket-Engg 1 year ago committed by Aniket
parent f024174728
commit 2c99e11710
  1. 28
      apps/etherscan/src/app/views/VerifyView.tsx

@ -111,14 +111,20 @@ export const VerifyView: React.FC<Props> = ({
{({ errors, touched, handleSubmit, handleChange, isSubmitting }) => { {({ errors, touched, handleSubmit, handleChange, isSubmitting }) => {
return (<form onSubmit={handleSubmit}> return (<form onSubmit={handleSubmit}>
<div className="form-group"> <div className="form-group">
<label htmlFor="network">Selected Network</label> <label htmlFor="network">Selected Network</label>
<Field <CustomTooltip
className="form-control" tooltipText="Network is fetched from 'Deploy and Run Transactions' plugin's ENVIRONMENT field"
type="text" tooltipId='etherscan-impl-address2'
name="network" placement='bottom'
value={networkName} >
disabled={true} <Field
/> className="form-control"
type="text"
name="network"
value={networkName}
disabled={true}
/>
</CustomTooltip>
</div> </div>
<div className="form-group"> <div className="form-group">
@ -227,9 +233,9 @@ export const VerifyView: React.FC<Props> = ({
<div className={ isProxyContract ? 'form-group d-block': 'form-group d-none' }> <div className={ isProxyContract ? 'form-group d-block': 'form-group d-none' }>
<label htmlFor="expectedImplAddress">Expected Implementation Address</label> <label htmlFor="expectedImplAddress">Expected Implementation Address</label>
<CustomTooltip <CustomTooltip
tooltipText='Providing expected implementation address enforces a check to ensure the returned implementation contract address is same as address picked up by the verifier' tooltipText='Providing expected implementation address enforces a check to ensure the returned implementation contract address is same as address picked up by the verifier'
tooltipId='etherscan-impl-address' tooltipId='etherscan-impl-address'
placement='bottom' placement='bottom'
> >
<Field <Field
className="form-control" className="form-control"

Loading…
Cancel
Save