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 f0481f3 commit fa7dcd6Copy full SHA for fa7dcd6
src/nested-list-view/nested-list-view.tsx
@@ -86,17 +86,15 @@ const NestedListView: React.FC<IProps> = React.memo(
86
delete copyNode._internalId;
87
}
88
89
- copyNode._internalId = keepOpenedState
90
- ? hashObjectGenerator(copyNode, {
91
- algorithm: 'passthrough',
92
- unorderedSets: false,
93
- unorderedObjects: false,
94
- })
95
- : Math.random().toString(36).substring(2, 10);
+ copyNode._internalId = hashObjectGenerator(copyNode, {
+ algorithm: 'passthrough',
+ unorderedSets: false,
+ unorderedObjects: false,
+ });
96
97
return copyNode;
98
},
99
- [getChildrenName, keepOpenedState],
+ [getChildrenName],
100
);
101
102
const generateRootNode = useCallback(
0 commit comments