SporosDAO / sweat-token

Sweat Token code and resources - Sweat Equity Vault for DAOs
https://app.sporosdao.xyz
Apache License 2.0
18 stars 16 forks source link

dApp requires refresh when first loading before balance shows up [BUG] #177

Open briareus-the-titan opened 1 year ago

briareus-the-titan commented 1 year ago

Describe the bug When you first connect to the dApp, it seems like nothing happened however, if you refresh the page, you'll see you've been connected as expected.

To Reproduce Steps to reproduce the behavior:

  1. Load homepage, make sure you've remove the site from metamask and also disconnected via the rainbow kit button.
  2. Click on Connect Wallet
  3. Connect your wallet as normal
  4. Notice you'll need to refresh before seeing your balance

Expected behavior After connecting, you should see your balance and which chain you're connected to right away.

Desktop (please complete the following information):

I haven't confirmed this one mobile yet

Additional context I believe this is a state issue related to app context.

briareus-the-titan commented 1 year ago

I'm looking at this issue now