Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ya2s committed Feb 8, 2025
1 parent d433bd3 commit 52cf1f1
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ export const useInitialAutoLayout = (
.filter((node) => node.type === 'table')
.some((node) => node.measured) ||
(nodes.filter((node) => node.type === 'table').length === 0 &&
nodes.find((node) => node.type === 'nonRelatedTableGroup')?.position
.x === 0 &&
nodes.find((node) => node.type === 'nonRelatedTableGroup')?.position
.y === 0),
nodes.find((node) => node.type === 'nonRelatedTableGroup')?.hidden ===
undefined),
[nodes],
)
const { getEdges } = useReactFlow()
Expand Down

0 comments on commit 52cf1f1

Please sign in to comment.