Skip to content

Commit

Permalink
issue #1004 🐞 debug
Browse files Browse the repository at this point in the history
  • Loading branch information
migbash committed Jan 25, 2023
1 parent 9bd80e9 commit cca20ec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/lib/components/_main_/auth/Auth_Widget.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,10 @@ COMPONENT JS (w/ TS)
email_error_format = false
}
// $: if (browser) {
// console.log(provider('isCoinbaseWallet'))
// }
/**
* Validates what Web3 wallet extension
* is being used for the platform
Expand All @@ -466,7 +470,8 @@ COMPONENT JS (w/ TS)
else {
target_wallet = window.ethereum.providers.find((provider) => provider[walletType])
}
if (dev) console.log(`🔵 More than 1 provider identified! - ${window.ethereum.providers.length}`)
console.log(`🔵 More than 1 provider identified! - ${window.ethereum.providers.length}`)
console.log(target_wallet)
}
// [ℹ] TARGET (THIS) single provider check true
Expand Down

0 comments on commit cca20ec

Please sign in to comment.