We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 78b9a75 + fa06641 commit 98f772fCopy full SHA for 98f772f
library/lib/nodes/classDiagram/Class.tsx
@@ -112,10 +112,6 @@ export function Class({
112
113
useEffect(() => {
114
if (height && height <= minHeight) {
115
- console.warn(
116
- `Node ${id} height is less than minimum height. Setting to minimum height: ${minHeight}`
117
- )
118
- // Update the node height to the minimum height
119
setNodes((prev) =>
120
prev.map((node) => {
121
if (node.id === id) {
@@ -136,9 +132,6 @@ export function Class({
136
132
137
133
138
134
if (width && width <= minWidth) {
139
140
- `Node ${id} width is less than minimum width. Setting to minimum width: ${minWidth}`
141
142
135
143
144
0 commit comments