Hide console.warn
This commit is contained in:
parent
35e9421ae8
commit
4cd8f76d7c
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ export function NewEditor(
|
||||||
setEditorState(editorState);
|
setEditorState(editorState);
|
||||||
setLoaded(true);
|
setLoaded(true);
|
||||||
}, (error) => {
|
}, (error) => {
|
||||||
console.warn('[NewEditor] Could not fetch resource from API. Using default.', error);
|
console.debug('[NewEditor] Could not fetch resource from API. Using default.', error);
|
||||||
setLoaded(true);
|
setLoaded(true);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -174,7 +174,7 @@ export function ConstraintBodyInsideUnallocatedWidth(
|
||||||
});
|
});
|
||||||
|
|
||||||
if (availableWidth === undefined) {
|
if (availableWidth === undefined) {
|
||||||
console.warn(`Container ${container.properties.id} cannot fit in any space due to its minimum width being to large. Consequently, its rigid body property is disabled.`);
|
console.debug(`Container ${container.properties.id} cannot fit in any space due to its minimum width being to large.`);
|
||||||
// Swal.fire({
|
// Swal.fire({
|
||||||
// position: 'top-end',
|
// position: 'top-end',
|
||||||
// title: `Container ${container.properties.id} cannot fit!`,
|
// title: `Container ${container.properties.id} cannot fit!`,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue