Skip to content

Commit 98f772f

Browse files
authored
Merge pull request #201 from ls1intum/chore--remove-console-logs
chore: remove console.warns
2 parents 78b9a75 + fa06641 commit 98f772f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

library/lib/nodes/classDiagram/Class.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,6 @@ export function Class({
112112

113113
useEffect(() => {
114114
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
119115
setNodes((prev) =>
120116
prev.map((node) => {
121117
if (node.id === id) {
@@ -136,9 +132,6 @@ export function Class({
136132

137133
useEffect(() => {
138134
if (width && width <= minWidth) {
139-
console.warn(
140-
`Node ${id} width is less than minimum width. Setting to minimum width: ${minWidth}`
141-
)
142135
setNodes((prev) =>
143136
prev.map((node) => {
144137
if (node.id === id) {

0 commit comments

Comments
 (0)