Uh oh!
There was an error while loading. Please reload this page.
fix: hide likes when data is being fetched - #984
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
📝 WalkthroughWalkthroughReplaced optional chaining in the package page likes UI with direct property access (likesData.userHasLiked, likesData.totalLikes) and exposed the fetch status as likesStatus. Added a guard (v-if="likesStatus !== 'pending'") to avoid rendering like-related bindings while the fetch is pending, so the template assumes likesData is defined only after fetch completion. Suggested reviewers
🚥 Pre-merge checks | ✅ 1✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
Uh oh!
There was an error while loading. Please reload this page.
btea
commented
Feb 5, 2026
Perhaps adding a loading effect would be better. #982 |
sacrosanctic
commented
Feb 5, 2026
I figured this is just a quick fix for a bigger redesign down the line. Since there's a lot of UI elements being added at the moment. |
jhroemer
commented
Feb 5, 2026
I agree, a simple |
ghostdevv
commented
Feb 11, 2026
Looks like this was resolved in #982 😅 - let me know if I'm wrong 🙏 |
the likes flashes a 0 briefly before showing the actual value.
I opted to just hide it for now as a quick fix.