refactor(react): dont create new edge objects on setEdges
This commit is contained in:
@@ -18,7 +18,6 @@ import { handleNodeClick } from '../Nodes/utils';
|
||||
import type { NodeWrapperProps } from '../../types';
|
||||
import { arrowKeyDiffs, builtinNodeTypes } from './utils';
|
||||
import { shallow } from 'zustand/shallow';
|
||||
|
||||
const NodeWrapper = ({
|
||||
id,
|
||||
onClick,
|
||||
|
||||
Reference in New Issue
Block a user