FIx: condition to display buttons
This commit is contained in:
parent
881c58c8b8
commit
e50c9870ae
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue