-
Notifications
You must be signed in to change notification settings - Fork 101
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
Add loader for profile cards #515
Conversation
CLA Assistant Lite All Contributors have signed the CLA. |
|
const isCardsLoading = useMemo(() => { | ||
let output = isVCowLoading || isLockedLoading || !library | ||
|
||
// remove loader after 5 sec in any case |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is that? If it's still loading why not show the loader?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think after 5 sec if its still in loading state there is probably some bug and we can show cards instead. I didn't see this happen but I would add this just in case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@elena-zh I've changed the implementation a bit, if you could please take another quick look 🙏 |
Only comment here is to use the |
@nenadV91 , LGTM! |
@fairlighteth I've updated the spinner |
Summary
Fixes #492
To test