From 5925f6ef9b8bad6259cabcff2cd3c65789cfebb6 Mon Sep 17 00:00:00 2001 From: Mati Dastugue Date: Wed, 8 Jul 2020 16:00:24 -0300 Subject: [PATCH] Update ts type for handleChange --- .../screens/ContractInteraction/EthAddressInput/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/EthAddressInput/index.tsx b/src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/EthAddressInput/index.tsx index 85a270d3..e20e1df9 100644 --- a/src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/EthAddressInput/index.tsx +++ b/src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/EthAddressInput/index.tsx @@ -56,7 +56,7 @@ const EthAddressInput = ({ closeQrModal() } - const handleInputChange = (event: { target: { value?: string } | null }) => { + const handleInputChange: React.ChangeEventHandler = (event) => { const { value } = event.target setSelectedEntry({ address: value }) }