Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nineth issue #9

Closed
7flash opened this issue Jun 15, 2022 · 3 comments
Closed

nineth issue #9

7flash opened this issue Jun 15, 2022 · 3 comments

Comments

@7flash
Copy link

7flash commented Jun 15, 2022

image

Reproduce: https://gitpod.io/#github.com/7flash/web3-login-issue-nineth

@caffeinum
Copy link
Member

thanks! the problem is you have put useWeb3 outside of Web3Provider.

see example, I specifically created AddressView to overcome that:
https://github.com/buildship-dev/web3-login/blob/main/src/App.tsx

@caffeinum
Copy link
Member

image

this fixes the problem, see demo:

https://3000-7flash-web3loginissueni-6jx4mhynpvt.ws-us47.gitpod.io/

@caffeinum
Copy link
Member

also I have added AddressView and created ProfileView in the PR, feel free to leave your feedback while it's not yet merged: #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants