Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

update console type

AykutSaracfc6a0e9c796b
diff --git a/src/utils/json-editor-parser.ts b/src/utils/json-editor-parser.ts
index 2444787f..ccf86d9d 100644
--- a/src/utils/json-editor-parser.ts
+++ b/src/utils/json-editor-parser.ts
@@ -76,7 +76,7 @@ export const parser = (input: string | string[]) => {
return res;
} catch (error) {
- console.log(error);
+ console.error(error);
toast.error("An error occured while parsing JSON data!");
return [];