Update ts type for handleChange

This commit is contained in:
Mati Dastugue 2020-07-08 16:00:24 -03:00 committed by GitHub
parent 73ba4d1897
commit 5925f6ef9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 })
}