Skip to content

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

fix json editor error

AykutSarac5f1887f7950b
diff --git a/src/pages/editor/JsonEditor/index.tsx b/src/pages/editor/JsonEditor/index.tsx
index aafdc7d1..c154d517 100644
--- a/src/pages/editor/JsonEditor/index.tsx
+++ b/src/pages/editor/JsonEditor/index.tsx
@@ -2,7 +2,7 @@ import React from "react";
import styled from "styled-components";
import JSONInput from "react-json-editor-ajrm";
import { useLocalStorage } from "usehooks-ts";
-const locale = require("react-json-editor-ajrm/locale/en");
+import locale from "react-json-editor-ajrm/locale/en";
const StyledJSONInput = styled(JSONInput)`
margin-top: 10px;