penumbra-zone / dex-explorer

Web app for visualization the state of the Penumbra DEX
Apache License 2.0
10 stars 1 forks source link

Post-disconnect asset list persisting #157

Open grod220 opened 1 week ago

grod220 commented 1 week ago

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
hdevalence commented 5 days ago

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