Fix for web3 check

This commit is contained in:
Richard Ramos 2018-07-13 12:32:32 -04:00
parent 8c5c8f8b2c
commit 74783a5e85
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class App extends Component {
const { isOwner, hidePanel, shipsForSale, myShips, marketPlaceShips } = this.state;
return (
web3 == undefined
typeof(web3) === "undefined" && typeof(EmbarkJS) !== "undefined"
? <Fragment>
<h3>No web3 provider was detected</h3>
<p>The easiest way to interact with this DApp is using Status:</p>