mirror of
https://github.com/status-im/visual-identity.git
synced 2025-02-16 06:27:14 +00:00
small cleanup
This commit is contained in:
parent
ea0ea87ba1
commit
46a063bab5
@ -8,7 +8,6 @@ class ERC20TokenUI extends React.Component {
|
|||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
this.state = {
|
this.state = {
|
||||||
|
|
||||||
balanceOf: 0,
|
balanceOf: 0,
|
||||||
transferTo: "",
|
transferTo: "",
|
||||||
transferAmount: 0,
|
transferAmount: 0,
|
||||||
@ -65,8 +64,8 @@ class ERC20TokenUI extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render(){
|
render(){
|
||||||
return (<React.Fragment>
|
return (
|
||||||
|
<React.Fragment>
|
||||||
<h2> Set token contract address</h2>
|
<h2> Set token contract address</h2>
|
||||||
<Form inline>
|
<Form inline>
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
@ -75,8 +74,6 @@ class ERC20TokenUI extends React.Component {
|
|||||||
onChange={(e) => this.contractAddress(e)} />
|
onChange={(e) => this.contractAddress(e)} />
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
</Form>
|
</Form>
|
||||||
|
|
||||||
|
|
||||||
<h3> Read account token balance</h3>
|
<h3> Read account token balance</h3>
|
||||||
<Form inline>
|
<Form inline>
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
|
@ -13,13 +13,10 @@ class App extends React.Component {
|
|||||||
|
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount(){
|
componentDidMount(){
|
||||||
__embarkContext.execWhenReady(() => {
|
__embarkContext.execWhenReady(() => {
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user