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

bug: add a clear toast msg when a user is not registered #27

Open
MalekLahbib opened this issue Sep 27, 2024 · 2 comments
Open

bug: add a clear toast msg when a user is not registered #27

MalekLahbib opened this issue Sep 27, 2024 · 2 comments

Comments

@MalekLahbib
Copy link

I was trying memeland locally and noticed that each time I try to upload a meme I have an error msg without an explanation, even in the console log:

Screenshot 2024-09-27 at 14 47 49

and I understood the problem when I checked gnodev:

Screenshot 2024-09-27 at 14 51 06

So I think it would be better for the user if a toast with a clear message is displayed.

@MalekLahbib
Copy link
Author

I’m trying to add the feature I'm talking about by calling the 'isUserRegistered' function to do the verification once the adena wallet is connected, but I'm getting an error msg on the console :

Screenshot 2024-09-28 at 18 59 10

Here's the code I added, it works well on my own front (GnoFundMe), but not with memeland:

Screenshot 2024-09-28 at 18 59 46

@leohhhn
Copy link
Collaborator

leohhhn commented Oct 2, 2024

Are you sure you are connecting to the proper RPC with the proper chainID?

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