Encountered two children with the same key #208
-
Hi, I keep getting this error, even when specifying idAccessor: Warning: Encountered two children with the same key, How can I avoid this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The row keys are your record ids, so this shouldn't happen if your ids are indeed unique. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Thank you for replying - it was my fault indeed. All the keys are unique, but I had two columns with the same accessor ID (one of them was a virtual column, so I didn't pay too much attention). Thanks again! |
Beta Was this translation helpful? Give feedback.
The row keys are your record ids, so this shouldn't happen if your ids are indeed unique.
Can you please check if they are, and if they do, can you please provide a codesandbox showcasing what's happening?
Thanks!