Allow repick address in contract interaction mode
This commit is contained in:
parent
3fdac537ec
commit
0f4f1077fe
|
@ -56,6 +56,11 @@ const EthAddressInput = ({
|
||||||
closeQrModal()
|
closeQrModal()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const handleInputChange = (event: { target: { value?: string } | null }) => {
|
||||||
|
const { value } = event.target
|
||||||
|
setSelectedEntry({ address: value })
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Row margin="md">
|
<Row margin="md">
|
||||||
|
@ -65,6 +70,7 @@ const EthAddressInput = ({
|
||||||
component={TextField}
|
component={TextField}
|
||||||
name={name}
|
name={name}
|
||||||
placeholder={text}
|
placeholder={text}
|
||||||
|
onChange={handleInputChange}
|
||||||
testId={name}
|
testId={name}
|
||||||
text={text}
|
text={text}
|
||||||
type="text"
|
type="text"
|
||||||
|
|
Loading…
Reference in New Issue