From e442fd20f5467236bd01e275ed68741e1d415c0d Mon Sep 17 00:00:00 2001 From: Santiago Trujillo Zuluaga Date: Thu, 14 Dec 2023 05:38:27 +0000 Subject: [PATCH] corrected ESM import statement (#6658) --- docs/docs/guides/web3_upgrade_guide/1.x/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/guides/web3_upgrade_guide/1.x/index.md b/docs/docs/guides/web3_upgrade_guide/1.x/index.md index 034f7f2d024..c7dc961d20b 100644 --- a/docs/docs/guides/web3_upgrade_guide/1.x/index.md +++ b/docs/docs/guides/web3_upgrade_guide/1.x/index.md @@ -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(); ```