This commit is contained in:
cdricms
2025-02-20 20:09:43 +01:00
parent 5bdfc9ce06
commit dbddf12f25
3 changed files with 16 additions and 15 deletions

View File

@@ -1,9 +1,14 @@
import Editor from "./editor"
"use client";
import dynamic from "next/dynamic";
export default function NewBlog() {
const Editor = dynamic(() => import("./editor").then((mod) => mod.default), {
ssr: false,
});
export default async function NewBlog() {
return (
<>
<Editor />
<>
<Editor />
</>
)
);
}