Skip to content

Commit

Permalink
feat: remove button setup
Browse files Browse the repository at this point in the history
  • Loading branch information
zugdev committed Dec 21, 2024
1 parent c526d60 commit b5c844a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -89,8 +91,6 @@ async function initializeProviderAndSigner() {

// update UI elements that depend on connection state
isApprovalValid();
setupApproveButton();
setupRevokeButton();
updateTokens();
}

Expand Down

0 comments on commit b5c844a

Please sign in to comment.