Update ts type for handleChange
This commit is contained in:
parent
73ba4d1897
commit
5925f6ef9b
|
@ -56,7 +56,7 @@ const EthAddressInput = ({
|
|||
closeQrModal()
|
||||
}
|
||||
|
||||
const handleInputChange = (event: { target: { value?: string } | null }) => {
|
||||
const handleInputChange: React.ChangeEventHandler<HTMLInputElement> = (event) => {
|
||||
const { value } = event.target
|
||||
setSelectedEntry({ address: value })
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue