typing fixes

This commit is contained in:
crptm 2017-06-27 03:08:52 +04:00
parent 96c8c88ab6
commit 9f2a209da5
1 changed files with 2 additions and 2 deletions

View File

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