mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
oceanprotocol/squid
This commit is contained in:
parent
cd135ac557
commit
9148f967f6
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user