Fix Eror Admin Persentase & Grafik

This commit is contained in:
2025-05-02 16:08:30 +08:00
parent ea7de13d28
commit a8556aacb7
34 changed files with 1109 additions and 48 deletions

View File

@@ -24,8 +24,14 @@ export function BeritaEditor({ onSubmit }: { onSubmit: (val: string) => void })
TextAlign.configure({ types: ['heading', 'paragraph'] }),
],
content,
immediatelyRender: false
});
if (!editor) {
return null;
}
return (
<Stack>
<RichTextEditor editor={editor}>