✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
disable reset localStorage on error
AykutSaraca1ec883bd5f8
diff --git a/src/utils/json-editor-parser.js b/src/utils/json-editor-parser.jsindex 1f79a84c..3808c068 100644--- a/src/utils/json-editor-parser.js+++ b/src/utils/json-editor-parser.js@@ -59,7 +59,6 @@ export const parser = (input) => {return [...flatten(res), ...relationships(res)];} catch (error) {console.error("An error occured while parsin JSON data!", error.stack);- localStorage.setItem('json', JSON.stringify(defaultValue));return Array;}};