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