bitdao-io / bitdao-governance

https://delegate.bitdaotools.io
2 stars 4 forks source link

[BUG] Getting started modal appears when connecting account that has already delegated their BIT #32

Closed afkbyte closed 3 years ago

afkbyte commented 3 years ago

Bug Description

When connecting an account that has already delegated their BIT to the site, the Getting Started modal appears for a few seconds before updating to the Voting Wallet/Delegation modal

Steps to Reproduce

  1. Connect to delegation page with an address containing BIT that has already delegated their BIT

Current Behaviour

Getting started modal appears (~2 seconds) then updates to the Voting Wallet modal

Expected Behaviour

Should display Voting Wallet/Delegation modal immediately

Additional Information

This probably has something to do with the ordering of the checks/response time. May be better to have a standin loading animation while waiting to get all information from the chain.

afkbyte commented 3 years ago

closed by #34