telosnetwork / open-block-explorer

The Open Block Explorer (OBE) is the first open source block explorer that is designed to support all AntelopeIO-based blockchains.
https://explorer.telos.net
Apache License 2.0
27 stars 24 forks source link

account page tab data not reactive to route params on browser navigation #812

Closed donnyquixotic closed 9 months ago

donnyquixotic commented 11 months ago

Describe the bug The tab data on account view (Transactions, Contract, Tokens, etc) retains previous tab component & data on browser navigation requiring a page refresh or clicking off and on tabs to trigger.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://explorer.telos.net/account/eosio
  2. At the bottom of account page click on a tab to view data
  3. Notice data and url updated with tab query param value
  4. Using the search bar, search and select any other account from dropdown to navigate to different account page
  5. Select any tab to view data and url params
  6. Navigate 'back' in the browser to previous account page
  7. See tab and data retained from other account

Expected behavior

Additional notes