diff --git a/app/components/ens/registerSubDomain.js b/app/components/ens/registerSubDomain.js index 8fe0ec2..a78ee11 100644 --- a/app/components/ens/registerSubDomain.js +++ b/app/components/ens/registerSubDomain.js @@ -16,6 +16,7 @@ const InnerForm = ({ handleBlur, handleSubmit, isSubmitting, + setFieldValue }) => (
setFieldValue('address', web3.eth.defaultAccount)}>Use My Primary Address} /> diff --git a/app/components/standard/FieldGroup.js b/app/components/standard/FieldGroup.js index 675c922..61bb519 100644 --- a/app/components/standard/FieldGroup.js +++ b/app/components/standard/FieldGroup.js @@ -1,10 +1,18 @@ import React from 'react'; -import { FormGroup, FormControl, HelpBlock, ControlLabel } from 'react-bootstrap'; +import { FormGroup, FormControl, HelpBlock, ControlLabel, InputGroup } from 'react-bootstrap'; -const FieldGroup = ({ id, label, error, ...props }) => ( +const FieldGroup = ({ id, label, button, error, ...props }) => ( {label} - + {button + ? + + {button} + + + + : + } {error && {error}} )