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
b7dd8ed667
commit
031a540113
@ -74,7 +74,7 @@ Here is the full source of `src/App.js` that you should have if you followed thi
|
|||||||
```javascript
|
```javascript
|
||||||
import React, { Component } from 'react'
|
import React, { Component } from 'react'
|
||||||
import './App.css'
|
import './App.css'
|
||||||
import { Ocean } from '@oceanprotocol/squid/dist/node/squid'
|
import { Ocean } from '@oceanprotocol/squid'
|
||||||
import * as Web3 from 'web3'
|
import * as Web3 from 'web3'
|
||||||
const web3 = new Web3(window.web3.currentProvider)
|
const web3 = new Web3(window.web3.currentProvider)
|
||||||
window.ethereum.enable()
|
window.ethereum.enable()
|
||||||
|
Loading…
Reference in New Issue
Block a user