diff --git a/packages/ethers/src/client.ts b/packages/ethers/src/client.ts index bc62e4625e..86282a0b07 100644 --- a/packages/ethers/src/client.ts +++ b/packages/ethers/src/client.ts @@ -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()