|
@@ -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>
|
|
|
</>
|
|
|
);
|
|
|
};
|