Skip to content

Commit

Permalink
remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
codingki committed Sep 19, 2024
1 parent 5fd78e4 commit 891022a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/widget-v2/src/hooks/useCreateEvmWallets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ export const useCreateEvmWallets = () => {
const evmGetAddress: MinimalWallet["getAddress"] = async ({
signRequired,
}) => {
console.log("evmGetAddress", connector.id, currentEvmConnector?.id, isEvmConnected);
if (connector.id !== currentEvmConnector?.id || !isEvmConnected) {
console.log("connector.id", connector.id);
await connectAsync({ connector, chainId: Number(chainID) });
setEvmWallet({ walletName: connector.id, chainType: "evm" });
} else if (evmAddress && isEvmConnected && signRequired) {
Expand Down

0 comments on commit 891022a

Please sign in to comment.