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'; import customMessages from './messages';
type State = { type State = {
hasQueryString: boolean,
readOnly: boolean, readOnly: boolean,
to: string, to: string,
value: string, value: string,
@ -244,8 +245,7 @@ export class SendTransaction extends React.Component {
}); });
}; };
onDataChange = (e: SyntheticInputEvent) => { onDataChange = (value: string) => {
const value = e.target.value;
if (this.state.unit !== 'ether') { if (this.state.unit !== 'ether') {
return; return;
} }