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

Fix re-rendering issue when connecting for the first time #180

Open briareus-the-titan opened 2 years ago

briareus-the-titan commented 2 years ago

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

netlify[bot] commented 2 years ago

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.

github-actions[bot] commented 2 years ago

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

briareus-the-titan commented 2 years ago

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

ivelin commented 2 years ago

@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.