From e7a2b925dfe99f71a5e35d751b8a2317598edc87 Mon Sep 17 00:00:00 2001 From: robhyrk Date: Thu, 22 Feb 2024 16:52:21 -0600 Subject: [PATCH] fix:remove console logs --- lib/hooks/useWeb3Wallet.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/hooks/useWeb3Wallet.ts b/lib/hooks/useWeb3Wallet.ts index fb415813b..a568888e3 100644 --- a/lib/hooks/useWeb3Wallet.ts +++ b/lib/hooks/useWeb3Wallet.ts @@ -141,17 +141,12 @@ const useWeb3Wallet = () => { if (!provider) { return; } - const resp = await cryptoWaitReady(); - console.log(resp); + await cryptoWaitReady(); const privateKey = await provider.request({ method: "private_key", }); - console.log(privateKey); - console.log(Keyring); const keyring = new Keyring({ ss58Format: 73, type: "sr25519" }); - console.log(keyring); const keyPair = keyring.addFromUri("0x" + privateKey); - console.log(keyring, keyPair); if (keyPair) { selectWallet("web3auth", keyPair); }