diff --git a/web/components/editor.tsx b/web/components/editor.tsx index 36573d0d..44dd92ad 100644 --- a/web/components/editor.tsx +++ b/web/components/editor.tsx @@ -279,7 +279,7 @@ const useUploadMutation = (editor: Editor | null) => } ) -export function RichContent(props: { content: JSONContent | string }) { +function RichContent(props: { content: JSONContent | string }) { const { content } = props const editor = useEditor({ editorProps: { attributes: { class: proseClass } },