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

Provider Console Error msg when user connects a wallet without a provider #811

Closed
anilmurty opened this issue Feb 7, 2025 · 1 comment · Fixed by #813
Closed

Provider Console Error msg when user connects a wallet without a provider #811

anilmurty opened this issue Feb 7, 2025 · 1 comment · Fixed by #813
Assignees
Labels
bug Something isn't working provider-console provider console issue

Comments

@anilmurty
Copy link

Problem Statement

This error message is displayed in the bottom right for a few seconds on many pages when they load if the wallet connected is not associated with a provider

Image

The UI is trying to fetch data about the provider (like dash, attributes etc) and doesn't get it.

Solution

I'd suggest replacing it with a more graceful message that says "no provider data found" and "likely because this wallet does not have a provider set up yet"

Alternatively, we can suppress the error message entirely in cases where there is no provider found and instead add an empty state to all pages that says "No Provider Associated with this Wallet. Click on Create Provider to set up a provider or connect a different wallet that is associated with a provider"

Thoughts @aktdenis ?

@jigar-arc10
Copy link
Contributor

I added PR, which handles non-provider calls at the start. 404 is expected, so we don't need to show an error toast. Removed error toast for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working provider-console provider console issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants