refactor(nodes-edges): rename isHidden to hidden

This commit is contained in:
moklick
2021-11-18 13:06:14 +01:00
parent e6a4034747
commit fe9c1f02dc
12 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ export default (NodeComponent: ComponentType<NodeProps>) => {
selectNodesOnDrag,
sourcePosition,
targetPosition,
isHidden,
hidden,
isInitialized,
snapToGrid,
snapGrid,
@@ -210,7 +210,7 @@ export default (NodeComponent: ComponentType<NodeProps>) => {
}
}, []);
if (isHidden) {
if (hidden) {
return null;
}