Skip to content

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

implement HOC context

AykutSaracb6fc8d7ef497
diff --git a/src/pages/editor/index.tsx b/src/pages/editor/index.tsx
index a8ed436f..b08ef264 100644
--- a/src/pages/editor/index.tsx
+++ b/src/pages/editor/index.tsx
@@ -1,6 +1,7 @@
import React from "react";
import Head from "next/head";
import { Editor } from "src/containers/Editor";
+import { WithConfig } from "src/hocs/config";
const EditorPage: React.FC = () => {
return (
@@ -8,7 +9,9 @@ const EditorPage: React.FC = () => {
<Head>
<title>Editor | JSON Visio</title>
</Head>
- <Editor />
+ <WithConfig>
+ <Editor />
+ </WithConfig>
</>
);
};