Skip to content

Cannot Reconnect Wallet After Disconnecting — Requires Local Storage Cleanup #131

@cqlyj

Description

@cqlyj

Hi Yellow team,

I encountered an issue on https://apps.yellow.com/ when trying to connect my wallet to create a channel.

Steps to Reproduce:

  1. Connect your wallet on the site.
  2. Disconnect the wallet using the website’s UI.
  3. Try to reconnect the same wallet.

Expected Behavior:

The wallet should reconnect normally.

Actual Behavior:

Reconnection fails, and the browser console shows the following error:

Attempted to log in, but user is already logged in. Use a `link` helper instead.

(from file: 323.42d5efd4f44af841.js:36)

Image

Temporary Workaround:

Clearing the browser’s local storage allows me to connect the wallet again.

Suggested Fix:

Handle the wallet reconnection process more gracefully by either:

  • Automatically clearing the relevant login state on disconnect.
  • Or using the appropriate link helper when detecting that the user is still logged in.

Let me know if I can provide more debug information. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions