blockchain-components icon indicating copy to clipboard operation
blockchain-components copied to clipboard

Show loading state before displaying unlocking tokens

Open Soleone opened this issue 2 years ago • 0 comments

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.

Soleone avatar Feb 07 '23 18:02 Soleone