refactor(utils): rename function

This commit is contained in:
moklick
2019-10-07 14:28:43 +02:00
parent 4f4f597eb6
commit eba97b586f
5 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import React, { memo } from 'react';
import cx from 'classnames';
import { isInputNode } from '../../utils';
import { inInputDOMNode } from '../../utils';
import store from '../../store';
export default EdgeComponent => {
@@ -12,7 +12,7 @@ export default EdgeComponent => {
} = props;
const edgeClasses = cx('react-flow__edge', { selected, animated });
const onEdgeClick = (evt) => {
if (isInputNode(evt)) {
if (inInputDOMNode(evt)) {
return false;
}