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

fix(n-result): show icons on re-render after hydration #5686

Merged
merged 3 commits into from Feb 23, 2024

Conversation

becem-gharbi
Copy link
Contributor

Related issue #4718

When re-rendering n-result on client-side after hydration, the built-in default icons are not rendered. As mentioned in the related issue, this behaviour had already been solved on other components. The issue is around reactivity as explained in comment.

This PR is based on the existant solution deb1a95.

Copy link

vercel bot commented Feb 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
naive-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 23, 2024 10:30am

@codecov-commenter
Copy link

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (3b28b67) 60.89% compared to head (f7e0086) 60.88%.

Files Patch % Lines
src/result/src/Result.tsx 40.00% 6 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5686      +/-   ##
==========================================
- Coverage   60.89%   60.88%   -0.02%     
==========================================
  Files        1125     1125              
  Lines       23824    23832       +8     
  Branches     6219     6219              
==========================================
+ Hits        14508    14510       +2     
- Misses       7718     7724       +6     
  Partials     1598     1598              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@07akioni
Copy link
Collaborator

Good

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

Successfully merging this pull request may close these issues.

None yet

4 participants