-
-
Notifications
You must be signed in to change notification settings - Fork 940
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(CheckTreePicker): fix duplicated key when data changed (#2486) #2500
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit acec9ce:
|
Codecov Report
@@ Coverage Diff @@
## main #2500 +/- ##
==========================================
+ Coverage 85.34% 85.35% +0.01%
==========================================
Files 291 292 +1
Lines 9014 9023 +9
Branches 2527 2529 +2
==========================================
+ Hits 7693 7702 +9
Misses 693 693
Partials 628 628
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
24360d2
to
46f8f32
Compare
…) (rsuite#2500) * fix(CheckTreePicker): fix duplicated key when data changed (rsuite#2486) * test(CheckTreePicker): use rerender to update props * test(CheckTreePicker): replace with testing-library
When node in data changes position, it's equivalent to changing the data. And selected this node again. Will getting duplicated key error in selected list.
Fix #2486