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 a2ca311 commit 6b70412Copy full SHA for 6b70412
src/ui/components/lineage/index.tsx
@@ -97,6 +97,7 @@ const getLayoutedElements = (
97
}
98
99
100
+ return initialNodes;
101
});
102
103
return edge;
@@ -130,6 +131,7 @@ export const LayoutFlow: React.FC<any> = (graph: any) => {
130
131
eds,
132
),
133
134
+ // eslint-disable-next-line react-hooks/exhaustive-deps
135
[],
136
);
137
const onLayout = useCallback(
@@ -142,6 +144,7 @@ export const LayoutFlow: React.FC<any> = (graph: any) => {
142
144
setNodes([...layoutedNodes]);
143
145
setEdges([...layoutedEdges]);
146
},
147
148
[nodes, edges],
149
150
0 commit comments