Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/connectors/CustomWalletLinkConnector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ export class CustomWalletLinkConnector extends AbstractConnector {
}

public async activate(): Promise<ConnectorUpdate> {
if (window.ethereum && window.ethereum.isCoinbaseWallet === true) {
// temporary fix to set provider
// todo: upgrade web3-react & set provider only if it is CoinbaseWallet
// if (window.ethereum && window.ethereum.isCoinbaseWallet === true) {
if (window.ethereum) {
// user is in the dapp browser on Coinbase Wallet
this.provider = window.ethereum
} else if (!this.walletLink) {
Expand Down