From fb883a63046ef9a8caad7e43a1bad8763902796a Mon Sep 17 00:00:00 2001 From: Sinclair Chen Date: Wed, 10 Aug 2022 14:23:11 -0700 Subject: [PATCH] remove extra export --- web/components/editor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } },