We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f02e0dd commit 3a710e2Copy full SHA for 3a710e2
web/common/src/components/Lineage/LineageLayout.tsx
@@ -14,8 +14,6 @@ import {
14
getOutgoers,
15
useReactFlow,
16
useViewport,
17
- useEdgesState,
18
- useNodesState,
19
applyNodeChanges,
20
applyEdgeChanges,
21
} from '@xyflow/react'
@@ -340,8 +338,6 @@ function LineageLayoutBase<
340
338
React.useEffect(() => {
341
339
if (currentNode?.id) {
342
setSelectedNodeId(currentNode.id)
343
- } else if (selectedNodeId) {
344
- // setSelectedNodeId(selectedNodeId);
345
} else {
346
const node = nodes.length > 0 ? nodes[nodes.length - 1] : null
347
0 commit comments