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

Show loading state before displaying unlocking tokens #5

Open
Soleone opened this issue Feb 7, 2023 · 0 comments
Open

Show loading state before displaying unlocking tokens #5

Soleone opened this issue Feb 7, 2023 · 0 comments

Comments

@Soleone
Copy link
Member

Soleone commented Feb 7, 2023

Problem

There are edge cases where the lookup of the NFTs in the user's wallet can take longer than expected, particularly if the wallet contains thousands of results, or the blockchain provider is just generally slow.

In that case the current behavior is that the connect wallet button displays the connected address already, but the tokengate card still displays the required tokens instead of the unlocking tokens.

Suggestion

Introduce a loading state that will be replaced by the unlocked state once the unlocking tokens are available.

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

No branches or pull requests

2 participants