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 a342e61 commit 4f63b9fCopy full SHA for 4f63b9f
packages/react-arborist/src/components/provider.tsx
@@ -57,7 +57,7 @@ export function TreeProvider<T>({
57
useMemo(() => {
58
updateCount.current += 1;
59
api.update(treeProps);
60
- }, [...Object.values(treeProps), state.nodes.open, state.dnd.parentId]);
+ }, [...Object.values(treeProps), state.nodes.open]);
61
62
/* Expose the tree api */
63
useImperativeHandle(imperativeHandle, () => api);
0 commit comments