1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

oceanprotocol/squid

This commit is contained in:
Jernej Pregelj 2018-12-06 10:53:54 +01:00
parent cd135ac557
commit 9148f967f6

View File

@ -75,7 +75,7 @@ Here is the full source of `src/App.js` that you should have if you followed thi
```javascript
import React, { Component } from 'react'
import './App.css'
import { Ocean } from '@oceanprotocol/squid/dist/node/squid'
import { Ocean } from '@oceanprotocol/squid'
import * as Web3 from 'web3'
const web3 = new Web3(window.web3.currentProvider)
window.ethereum.enable()