Skip to content

Display toast/alert on web3auth connect errors #141

@jgryffindor

Description

@jgryffindor

We're getting the following error on social login when a login fails to connect to web3auth. As of now, there's only a console error message when this happens. We should display a toast or alert to the user when there is a connection error and provide instructions such as refresh your browser, retry, etc.

social-login.tsx:101 connectTo error WalletLoginError: Wallet is not connectedNo wallet is connected

connectTo error WalletLoginError: Wallet is not connectedNo wallet is connected
    at Function.value (index.ts:143:12)
    at Function.value (index.ts:155:29)
    at r.<anonymous> (core.ts:175:104)
    at d (regeneratorRuntime.js:72:17)
    at Generator._invoke (regeneratorRuntime.js:55:24)
    at Generator.next (regeneratorRuntime.js:97:21)
    at r (asyncToGenerator.js:3:20)
    at s (asyncToGenerator.js:22:9)
    at asyncToGenerator.js:27:7
    at new Promise (<anonymous>)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions