Skip to content

Commit

Permalink
fix: get isConnected from provider (#2118)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignacio Santise authored Apr 8, 2024
1 parent 6bc232f commit 9c5555d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ethers/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ export class Web3Modal extends Web3ModalScaffold {
super.setLoading(true)
const isLoginEmailUsed = this.emailProvider.getLoginEmailUsed()
super.setLoading(isLoginEmailUsed)
const isConnected = await this.emailProvider.isConnected()
const { isConnected } = await this.emailProvider.isConnected()

if (isConnected) {
this.setEmailProvider()
Expand Down

0 comments on commit 9c5555d

Please sign in to comment.