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

Issue with the Preview component after connecting wallet #416

Closed
1 task done
kien-ngo opened this issue Jul 15, 2024 · 2 comments
Closed
1 task done

Issue with the Preview component after connecting wallet #416

kien-ngo opened this issue Jul 15, 2024 · 2 comments
Assignees
Labels
Needs Reproduction Misc: Needs Reproduction

Comments

@kien-ngo
Copy link

kien-ngo commented Jul 15, 2024

Describe the bug

I have a screen record which should help: https://www.loom.com/share/71ea57ee9fe7458b96ecd98af2e8e65d

Basically for some reason, the address from useAccount is falsy after I connect my MetaMask, causing an error in the Preview component at this line:

https://github.com/wevm/frog/blob/main/ui/src/components/Preview.tsx#L692

Link to Minimal Reproducible Example

Check video

Steps To Reproduce

check video

Frog Version

0.14.2

TypeScript Version

^5

Check existing issues

Anything else?

Happens to Rabby as well, fwiw

@dalechyn dalechyn self-assigned this Jul 16, 2024
@dalechyn
Copy link
Collaborator

Hi! I was not able to reproduce issue neither with MetaMask nor with Rainbow.

The origin of the issue is weird as there is a check for account.status === 'connected', thus it might be an upstream issue of wagmi itself.

Can you add a minimal reproducible example?

@dalechyn dalechyn added the Needs Reproduction Misc: Needs Reproduction label Jul 18, 2024
Copy link
Contributor

Hello @kien-ngo.

Please provide a minimal reproduction using StackBlitz, TypeScript Playground (for type issues), or a separate minimal GitHub repository.

Minimal reproductions are required as they save us a lot of time reproducing your config & environment, and trying to reproduce your issue. See Why reproductions are required.

Please reopen this issue when a reproduction is added.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Reproduction Misc: Needs Reproduction
Projects
None yet
Development

No branches or pull requests

2 participants