sweat-token icon indicating copy to clipboard operation
sweat-token copied to clipboard

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

Open briareus-the-titan opened this issue 2 years ago • 1 comments

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):

  • Brave

I haven't confirmed this one mobile yet

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

briareus-the-titan avatar Nov 16 '22 01:11 briareus-the-titan

I'm looking at this issue now

briareus-the-titan avatar Nov 16 '22 01:11 briareus-the-titan