Skip to content

Commit

Permalink
Merge pull request #239 from Djazouli/bug/eslint_src_failing
Browse files Browse the repository at this point in the history
Fix eslint src
  • Loading branch information
ajbogh authored Jul 29, 2020
2 parents a8cc2d6 + 6b71aa1 commit 3f853af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/components/graph-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,8 @@ class GraphView extends React.Component<IGraphViewProps, IGraphViewState> {
}

canSwap(sourceNode: INode, hoveredNode: INode | null, swapEdge: any) {
const { canSwapEdge } = this.props;

return (
hoveredNode &&
sourceNode !== hoveredNode &&
Expand Down
4 changes: 1 addition & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ export type IEdgeType = IEdge;
export { default as GraphUtils } from './utilities/graph-util';
export { default as Node } from './components/node';
export type INodeType = INode;
export {
default as BwdlTransformer,
} from './utilities/transformers/bwdl-transformer';
export { default as BwdlTransformer } from './utilities/transformers/bwdl-transformer';
export { GV as GraphView };
export type LayoutEngineType = LayoutEngineConfigTypes;
export default GV;

0 comments on commit 3f853af

Please sign in to comment.