Skip to content

Commit

Permalink
fix: issue where eip6963 connectors would still show with them disabl…
Browse files Browse the repository at this point in the history
…ed (#2455)
  • Loading branch information
tomiir authored Jun 20, 2024
1 parent f79085f commit e8b30f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ethers/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ export class Web3Modal extends Web3ModalScaffold {
this.checkActive6963Provider()
}

this.setEIP6963Enabled(ethersConfig.EIP6963 !== false)
this.setEIP6963Enabled(ethersConfig.EIP6963)

if (ethersConfig.injected) {
this.checkActiveInjectedProvider(ethersConfig)
Expand Down
2 changes: 1 addition & 1 deletion packages/ethers5/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ export class Web3Modal extends Web3ModalScaffold {
this.checkActive6963Provider()
}

this.setEIP6963Enabled(ethersConfig.EIP6963 !== false)
this.setEIP6963Enabled(ethersConfig.EIP6963)
}

// -- Public ------------------------------------------------------------------
Expand Down

0 comments on commit e8b30f8

Please sign in to comment.