Allow repick address in contract interaction mode

This commit is contained in:
Mati Dastugue 2020-07-03 18:00:39 -03:00
parent 3fdac537ec
commit 0f4f1077fe
1 changed files with 6 additions and 0 deletions

View File

@ -56,6 +56,11 @@ const EthAddressInput = ({
closeQrModal()
}
const handleInputChange = (event: { target: { value?: string } | null }) => {
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"