FIx: condition to display buttons

This commit is contained in:
Richard Ramos 2018-09-14 12:00:30 -04:00
parent 881c58c8b8
commit e50c9870ae
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ class Status extends Component {
// Default for devenv
web3.eth.net.getId().then(netId => {
this.setState({isDev: netId != 1 && netId != 3});
this.setState({isDev: netId != 1});
});
this.web3BlockRead();

View File

@ -80,7 +80,7 @@ class Status extends Component {
// Default for devenv
web3.eth.net.getId().then(netId => {
this.setState({isDev: netId != 1 && netId != 3});
this.setState({isDev: netId != 1});
});
this.web3BlockRead();