Skip to content

Commit

Permalink
corrected ESM import statement (#6658)
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiagoDevRel authored Dec 14, 2023
1 parent e1080d9 commit e442fd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/guides/web3_upgrade_guide/1.x/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ const web3 = new Web3();
attributes={{className: "typescript-tab"}}>

```typescript
const { Web3 } = require('web3');

import { Web3 } from 'web3';

const web3 = new Web3();
```

</TabItem>
Expand Down

0 comments on commit e442fd2

Please sign in to comment.