diff --git a/src/pages/workspace/content/allContents/index.tsx b/src/pages/workspace/content/allContents/index.tsx
index 69545aa7..ae2ae03f 100644
--- a/src/pages/workspace/content/allContents/index.tsx
+++ b/src/pages/workspace/content/allContents/index.tsx
@@ -1,24 +1,21 @@
-import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
-import React from 'react'
-import dynamic from 'next/dynamic';
-
+import { serverSideTranslations } from "next-i18next/serverSideTranslations";
+import React from "react";
+import dynamic from "next/dynamic";
// @ts-ignore
-const Content = dynamic(() => import('editor/Content'), { ssr: false });
+const Content = dynamic(() => import("editor/Content"), { ssr: false });
const content = () => {
- return (
-
- )
-}
-
-export default content
+ return ;
+};
+export default content;
export async function getStaticProps({ locale }: any) {
return {
props: {
+ noLayout: true,
...(await serverSideTranslations(locale, ["common"])),
},
};
-}
\ No newline at end of file
+}
diff --git a/src/pages/workspace/content/create/index.tsx b/src/pages/workspace/content/create/index.tsx
index 99108c51..1a8b5962 100644
--- a/src/pages/workspace/content/create/index.tsx
+++ b/src/pages/workspace/content/create/index.tsx
@@ -1,24 +1,21 @@
-import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
-import React from 'react'
-import dynamic from 'next/dynamic';
-
+import { serverSideTranslations } from "next-i18next/serverSideTranslations";
+import React from "react";
+import dynamic from "next/dynamic";
// @ts-ignore
-const Create = dynamic(() => import('editor/Create'), { ssr: false });
+const Create = dynamic(() => import("editor/Create"), { ssr: false });
const create = () => {
- return (
-
- )
-}
-
-export default create
+ return ;
+};
+export default create;
export async function getStaticProps({ locale }: any) {
return {
props: {
+ noLayout: true,
...(await serverSideTranslations(locale, ["common"])),
},
};
-}
\ No newline at end of file
+}
diff --git a/src/pages/workspace/content/draft/index.tsx b/src/pages/workspace/content/draft/index.tsx
index 744b5e78..f94e95a8 100644
--- a/src/pages/workspace/content/draft/index.tsx
+++ b/src/pages/workspace/content/draft/index.tsx
@@ -1,24 +1,21 @@
-import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
-import React from 'react'
-import dynamic from 'next/dynamic';
-
+import { serverSideTranslations } from "next-i18next/serverSideTranslations";
+import React from "react";
+import dynamic from "next/dynamic";
// @ts-ignore
-const Draft = dynamic(() => import('editor/Draft'), { ssr: false });
+const Draft = dynamic(() => import("editor/Draft"), { ssr: false });
const draft = () => {
- return (
-
- )
-}
-
-export default draft
+ return ;
+};
+export default draft;
export async function getStaticProps({ locale }: any) {
return {
props: {
+ noLayout: true,
...(await serverSideTranslations(locale, ["common"])),
},
};
-}
\ No newline at end of file
+}
diff --git a/src/pages/workspace/content/publish/index.tsx b/src/pages/workspace/content/publish/index.tsx
index 9d5f5829..8d78e70f 100644
--- a/src/pages/workspace/content/publish/index.tsx
+++ b/src/pages/workspace/content/publish/index.tsx
@@ -1,24 +1,21 @@
-import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
-import React from 'react'
-import dynamic from 'next/dynamic';
-
+import { serverSideTranslations } from "next-i18next/serverSideTranslations";
+import React from "react";
+import dynamic from "next/dynamic";
// @ts-ignore
-const Publish = dynamic(() => import('editor/Publish'), { ssr: false });
+const Publish = dynamic(() => import("editor/Publish"), { ssr: false });
const publish = () => {
- return (
-
- )
-}
-
-export default publish
+ return ;
+};
+export default publish;
export async function getStaticProps({ locale }: any) {
return {
props: {
+ noLayout: true,
...(await serverSideTranslations(locale, ["common"])),
},
};
-}
\ No newline at end of file
+}
diff --git a/src/pages/workspace/content/submitted/index.tsx b/src/pages/workspace/content/submitted/index.tsx
index 141dbaa5..2b78004b 100644
--- a/src/pages/workspace/content/submitted/index.tsx
+++ b/src/pages/workspace/content/submitted/index.tsx
@@ -1,24 +1,21 @@
-import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
-import React from 'react'
-import dynamic from 'next/dynamic';
-
+import { serverSideTranslations } from "next-i18next/serverSideTranslations";
+import React from "react";
+import dynamic from "next/dynamic";
// @ts-ignore
-const Submitted = dynamic(() => import('editor/Submitted'), { ssr: false });
+const Submitted = dynamic(() => import("editor/Submitted"), { ssr: false });
const submitted = () => {
- return (
-
- )
-}
-
-export default submitted
+ return ;
+};
+export default submitted;
export async function getStaticProps({ locale }: any) {
return {
props: {
+ noLayout: true,
...(await serverSideTranslations(locale, ["common"])),
},
};
-}
\ No newline at end of file
+}