AykutSarac 3 роки тому
батько
коміт
b6fc8d7ef4
1 змінених файлів з 4 додано та 1 видалено
  1. 4 1
      src/pages/editor/index.tsx

+ 4 - 1
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>
     </>
   );
 };