Skip to content

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

remove toast

AykutSarac64d412a075ae
diff --git a/src/utils/jsonParser.ts b/src/utils/jsonParser.ts
index aeaff0cf..522c6b8e 100644
--- a/src/utils/jsonParser.ts
+++ b/src/utils/jsonParser.ts
@@ -1,4 +1,3 @@
-import toast from "react-hot-toast";
const calculateSize = (
text: string | [string, string][],
@@ -143,7 +142,6 @@ export const parser = (jsonStr: string, isExpanded = true) => {
return { nodes, edges };
} catch (error) {
console.error(error);
- toast.error("An error occured while parsing JSON data!");
return {
nodes: [],
edges: [],