From b5c844ab96bf19f47d43c8588bc198f2104693fe Mon Sep 17 00:00:00 2001 From: zugdev Date: Fri, 20 Dec 2024 22:37:40 -0300 Subject: [PATCH] feat: remove button setup --- static/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/main.ts b/static/main.ts index 6863c5c..7d532a8 100644 --- a/static/main.ts +++ b/static/main.ts @@ -55,6 +55,8 @@ export const appState = createAppKit({ }, }); +console.log(appState.getWalletProvider()); + export let provider: ethers.providers.JsonRpcProvider | undefined; export let userSigner: ethers.Signer | undefined; let web3Provider: ethers.providers.Web3Provider | undefined; @@ -89,8 +91,6 @@ async function initializeProviderAndSigner() { // update UI elements that depend on connection state isApprovalValid(); - setupApproveButton(); - setupRevokeButton(); updateTokens(); }