mento-protocol / governance-ui

An open source interface for the Mento protocol governance
https://governance.mento.org
0 stars 0 forks source link

[BUG] Governance stats update lag when switching between chains #176

Closed bayological closed 2 months ago

bayological commented 3 months ago

Steps to reproduce:

  1. Go to the app URL
  2. Take note of the governance stats
  3. Connect a wallet
  4. Take note of the governance stats
  5. Switch to Alfajores
  6. Take note of the governance stats
  7. Switch back to Celo
  8. Take note of the governance stats

Expected result: The stats, specifically the total veMento voting power, should update to show the voting power on celo mainnet Actual result: The total voting power displayed is still the alfajores voting power

Bonus

Another issue that affects this component can be seen below When navigating from 'My voting power' to the home page, there is a flicker on the number of active proposals. Screencast from 2024-06-10 10-38-20.webm