From 9f2a209da5fa7ea299396f5c40c3a915285bf5ac Mon Sep 17 00:00:00 2001 From: crptm Date: Tue, 27 Jun 2017 03:08:52 +0400 Subject: [PATCH] typing fixes --- common/containers/Tabs/SendTransaction/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/containers/Tabs/SendTransaction/index.jsx b/common/containers/Tabs/SendTransaction/index.jsx index 2247f098..bc00b7ef 100644 --- a/common/containers/Tabs/SendTransaction/index.jsx +++ b/common/containers/Tabs/SendTransaction/index.jsx @@ -17,6 +17,7 @@ import pickBy from 'lodash/pickBy'; import customMessages from './messages'; type State = { + hasQueryString: boolean, readOnly: boolean, to: string, value: string, @@ -244,8 +245,7 @@ export class SendTransaction extends React.Component { }); }; - onDataChange = (e: SyntheticInputEvent) => { - const value = e.target.value; + onDataChange = (value: string) => { if (this.state.unit !== 'ether') { return; }