refactor(node): pass width and height dep to style memo
This commit is contained in:
@@ -90,6 +90,8 @@ export default (NodeComponent: ComponentType<NodeComponentProps>) => {
|
||||
onMouseMove,
|
||||
onMouseLeave,
|
||||
isParentNode,
|
||||
width,
|
||||
height,
|
||||
]
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user