We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaa3a52 commit 8804427Copy full SHA for 8804427
src/selectors/nodes.js
@@ -90,4 +90,4 @@ export const addNode = node => ({
90
});
91
92
export const getRowIndexFromId = (flattenedTree, id) =>
93
- flattenedTree.findIndex((item, index) => item.id === id);
+ flattenedTree.findIndex((node) => node.id === id);
0 commit comments