✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
fix json editor
AykutSaracda5ae2694974
diff --git a/src/containers/JsonEditor/index.tsx b/src/containers/JsonEditor/index.tsxindex a9088e2f..d7b7b601 100644--- a/src/containers/JsonEditor/index.tsx+++ b/src/containers/JsonEditor/index.tsx@@ -84,17 +84,13 @@ export const JsonEditor: React.FC<{}};- if (typeof window !== "undefined") {- return (- <StyledJSONInput- placeholder={JSON.parse(initialJson as string)}- onChange={handleChange}- locale={locale}- height="100%"- width="auto"- />- );- }-- return null;+ return (+ <StyledJSONInput+ placeholder={JSON.parse(initialJson)}+ onChange={handleChange}+ locale={locale}+ height="100%"+ width="auto"+ />+ );};