Skip to content

Commit

Permalink
Fix @celo/connect README code example (#144)
Browse files Browse the repository at this point in the history
* docs(README): removes line from code example

* docs(connect): updates autogenerated docs
  • Loading branch information
arthurgousset authored Feb 16, 2024
1 parent 0ad9c01 commit 34de1b8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions packages/docs/sdk/docs/connect/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ import { Connection, CeloProvider } from '@celo/connect'

const web3 = new Web3("YOUR_RPC_URL")
const connection = new Connection(web3)

connection.setProvider()

const connectedChainID = await connection.chainId()

```

For a raw transaction:
Expand Down
5 changes: 0 additions & 5 deletions packages/sdk/connect/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ import { Connection, CeloProvider } from '@celo/connect'

const web3 = new Web3("YOUR_RPC_URL")
const connection = new Connection(web3)

connection.setProvider()

const connectedChainID = await connection.chainId()

```

For a raw transaction:
Expand Down

0 comments on commit 34de1b8

Please sign in to comment.