Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post-disconnect asset list persisting #157

Open
grod220 opened this issue Nov 22, 2024 · 1 comment
Open

Post-disconnect asset list persisting #157

grod220 opened this issue Nov 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@grod220
Copy link
Contributor

grod220 commented Nov 22, 2024

Steps to reproduce:

  1. Connect wallet that has a balance
  2. Click asset selector and note token balances
  3. Disconnect wallet
  4. Click asset selector tab and the previous connected wallet's balances persist (refreshing fixes it)

Very likely a mobx store not re-rendering after the connection state changes

Example after disconnecting:
Screenshot 2024-11-22 at 4 42 57 PM

@grod220 grod220 added the bug Something isn't working label Nov 22, 2024
@github-project-automation github-project-automation bot moved this to 🗄️ Backlog in Penumbra web Nov 22, 2024
@grod220 grod220 moved this to 📝 Todo in Labs web Nov 22, 2024
@grod220 grod220 added this to Labs web Nov 22, 2024
@hdevalence
Copy link
Member

Rather than doing a specific fix I think it would be fine to just reload the page on disconnect. Guaranteed way to wipe state

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🗄️ Backlog
Development

No branches or pull requests

2 participants