small cleanup

This commit is contained in:
Barry Gitarts 2018-05-21 14:29:57 -04:00
parent ea0ea87ba1
commit 46a063bab5
2 changed files with 14 additions and 20 deletions

View File

@ -8,7 +8,6 @@ class ERC20TokenUI extends React.Component {
constructor(props) {
super(props);
this.state = {
balanceOf: 0,
transferTo: "",
transferAmount: 0,
@ -65,8 +64,8 @@ class ERC20TokenUI extends React.Component {
}
render(){
return (<React.Fragment>
return (
<React.Fragment>
<h2> Set token contract address</h2>
<Form inline>
<FormGroup>
@ -75,8 +74,6 @@ class ERC20TokenUI extends React.Component {
onChange={(e) => this.contractAddress(e)} />
</FormGroup>
</Form>
<h3> Read account token balance</h3>
<Form inline>
<FormGroup>

View File

@ -13,13 +13,10 @@ class App extends React.Component {
constructor(props) {
super(props);
}
componentDidMount(){
__embarkContext.execWhenReady(() => {
});
}