Skip to content

Commit

Permalink
format via eslint + prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
bhouston committed Jul 22, 2023
1 parent cfe6dbd commit dde4d34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 3 additions & 9 deletions packages/flow/src/components/Flow.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
import {
DefaultLogger,
GraphJSON,
IRegistry,
ManualLifecycleEventEmitter,
registerCoreProfile
} from '@behave-graph/core';
import React, { useMemo } from 'react';
import { GraphJSON } from '@behave-graph/core';
import React from 'react';
import { Background, BackgroundVariant, ReactFlow } from 'reactflow';

import { useBehaveGraphFlow } from '../hooks/useBehaveGraphFlow.js';
import { useFlowHandlers } from '../hooks/useFlowHandlers.js';
import { useGraphRunner } from '../hooks/useGraphRunner.js';
import { useNodeSpecJson } from '../hooks/useNodeSpecJson.js';
import { useRegistry } from '../hooks/useRegistry.js';
import CustomControls from './Controls.js';
import { Examples } from './modals/LoadModal.js';
import { NodePicker } from './NodePicker.js';
import { useRegistry } from '../hooks/useRegistry.js';

type FlowProps = {
initialGraph: GraphJSON;
Expand Down
2 changes: 1 addition & 1 deletion packages/flow/src/components/Node.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { NodeSpecJSON } from '@behave-graph/core';
import { NodeProps as FlowNodeProps, useEdges } from 'reactflow';
import React from 'react';
import { NodeProps as FlowNodeProps, useEdges } from 'reactflow';

import { useChangeNodeData } from '../hooks/useChangeNodeData.js';
import { isHandleConnected } from '../util/isHandleConnected.js';
Expand Down

0 comments on commit dde4d34

Please sign in to comment.