diff --git a/packages/mindplot/src/components/DesignerBuilder.ts b/packages/mindplot/src/components/DesignerBuilder.ts index f7aecd20..d5479fd0 100644 --- a/packages/mindplot/src/components/DesignerBuilder.ts +++ b/packages/mindplot/src/components/DesignerBuilder.ts @@ -44,7 +44,7 @@ export function buildDesigner(options: DesignerOptions): Designer { `Line: ${lineNo}`, `Column: ${columnNo}`, ].join(' - '); - console.log(message); + console.error(message); // Send error to server ... $.ajax({ @@ -58,7 +58,6 @@ export function buildDesigner(options: DesignerOptions): Designer { mapId: options.mapId, }), }); - // Open error dialog only in case of mindmap loading errors. The rest of the error are reported but not display the dialog. // Remove this in the near future. if (!globalThis.mindmapLoadReady) { diff --git a/packages/webapp/src/components/editor-page/index.tsx b/packages/webapp/src/components/editor-page/index.tsx index b84673a8..055ccb49 100644 --- a/packages/webapp/src/components/editor-page/index.tsx +++ b/packages/webapp/src/components/editor-page/index.tsx @@ -14,7 +14,6 @@ const EditorPage = ({ mapId, ...props }: EditorPropsType): React.ReactElement => // Load user locale ... const userLocale = AppI18n.getUserLocale(); - console.log("Locale:" + userLocale.code); return <>