CSR
This commit is contained in:
@@ -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 />
|
||||
</>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user