Skip to content

Commit

Permalink
Merge branch 'feat/infinite-tree' into alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
mguellsegarra committed Sep 23, 2024
2 parents 7dc532e + d68015c commit 15580d2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/InfiniteTable/InfiniteTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -384,12 +384,14 @@ const InfiniteTableComp = forwardRef<InfiniteTableRef, InfiniteTableProps>(
[onChangeFirstVisibleRowIndex],
);

useWhyDidYouRender("InfiniteTable", props);
// useWhyDidYouRender("InfiniteTable", props);

const getAllNodeKeys = useCallback(() => {
const allNodes: number[] = [];
gridRef.current?.api?.forEachNode((node) => {
allNodes.push(node.data.id);
if (node?.data?.id) {
allNodes.push(node.data.id);
}
});
return allNodes;
}, []);
Expand Down

0 comments on commit 15580d2

Please sign in to comment.