mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-17 03:57:04 +00:00
Merge pull request #1101 from gnosis/fix/allow-repick
Allow to re-pick a contract address
This commit is contained in:
commit
b2c70440a0
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user