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 c54d5cf commit d22ef4aCopy full SHA for d22ef4a
packages/compass-data-modeling/src/components/diagram-editor.tsx
@@ -268,7 +268,7 @@ const DiagramEditor: React.FunctionComponent<{
268
269
useEffect(() => {
270
if (nodes.length === 0) return;
271
- const isInitialState = nodes.every(
+ const isInitialState = nodes.some(
272
(node) => isNaN(node.position.x) || isNaN(node.position.y)
273
);
274
if (isInitialState) {
0 commit comments