From de0e7d39fc7f089d3b769feb698541dd8cab1678 Mon Sep 17 00:00:00 2001 From: SamueleA Date: Tue, 27 Jun 2023 09:14:58 -0400 Subject: [PATCH] remove possible problem with popupblocker --- src/App.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 2b88818..f42f7ce 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -913,8 +913,6 @@ And that has made all the difference. const switchToChainId = async (targetChainId: number) => { try { resetConsole() - const chainIdBefore = await wallet.getChainId() - addNewConsoleLine(`Chain id before switching networks: ${chainIdBefore}`, { logMessage: true }) addNewConsoleLine(`Attempting to connect to chain #${targetChainId}`, { logMessage: true }) const provider = wallet.getProvider()!