|
|
@ -30,7 +30,7 @@ export const CaptureKeyView: React.FC = () => { |
|
|
|
{({ errors, touched, handleSubmit }) => ( |
|
|
|
{({ errors, touched, handleSubmit }) => ( |
|
|
|
<form onSubmit={handleSubmit}> |
|
|
|
<form onSubmit={handleSubmit}> |
|
|
|
<div className="form-group" style={{ marginBottom: "0.5rem" }}> |
|
|
|
<div className="form-group" style={{ marginBottom: "0.5rem" }}> |
|
|
|
<label htmlFor="apikey">Please Enter your API key</label> |
|
|
|
<label htmlFor="apikey">Enter Etherscan API Key</label> |
|
|
|
<Field |
|
|
|
<Field |
|
|
|
className={ |
|
|
|
className={ |
|
|
|
errors.apiKey && touched.apiKey |
|
|
|
errors.apiKey && touched.apiKey |
|
|
@ -49,7 +49,7 @@ export const CaptureKeyView: React.FC = () => { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<SubmitButton text="Save API key" dataId="save-api-key" /> |
|
|
|
<SubmitButton text="Save" dataId="save-api-key" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
</form> |
|
|
|
)} |
|
|
|
)} |
|
|
|