typing fixes
This commit is contained in:
parent
96c8c88ab6
commit
9f2a209da5
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue