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

Fix re-rendering issue when connecting for the first time

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

PR should close #177

Description

If you connect your wallet for the first time, nothing happens. This was because react wasn't re-rendering after wagmi and rainbows initial connect.

I've also added a rule to eslint that should be helpful. LMK if you don't like that and I'll remove it

https://www.loom.com/share/fe78d31f5ca847dbbe83333ab7375ef5

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

Deploy Preview for sporosdaoapp-dev ready!

Name Link
Latest commit 199bff299793a5a20df4079f0390bbbbfb8dc73a
Latest deploy log https://app.netlify.com/sites/sporosdaoapp-dev/deploys/637d7d3fcad5f40009d690b0
Deploy Preview https://deploy-preview-180--sporosdaoapp-dev.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar Nov 23 '22 01:11 netlify[bot]

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request

github-actions[bot] avatar Nov 23 '22 01:11 github-actions[bot]

I'll fix up tests once we discuss this direction, using the web3context like this. LMK what you think!

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

@briareus-the-titan I see you requested review, but there are failing checks still. Do you mind switching to draft PR until all checks pass.

ivelin avatar Nov 23 '22 02:11 ivelin