Merge pull request #1101 from gnosis/fix/allow-repick

Allow to re-pick a contract address
This commit is contained in:
Mati Dastugue 2020-07-08 17:09:16 -03:00 committed by GitHub
commit b2c70440a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -56,6 +56,11 @@ const EthAddressInput = ({
closeQrModal()
}
const handleInputChange: React.ChangeEventHandler<HTMLInputElement> = (event) => {
const { value } = event.target
setSelectedEntry({ address: value })
}
return (
<>
<Row margin="md">
@ -65,6 +70,7 @@ const EthAddressInput = ({
component={TextField}
name={name}
placeholder={text}
onChange={handleInputChange}
testId={name}
text={text}
type="text"