diff --git a/src/components/EditorNew/Editor.tsx b/src/components/EditorNew/Editor.tsx index d8ea9ded..441ba1eb 100644 --- a/src/components/EditorNew/Editor.tsx +++ b/src/components/EditorNew/Editor.tsx @@ -59,7 +59,7 @@ export const Editor = () => { const handleSaveButtonClick = () => { const article: ShoutInput = { body: getHtml(editorViewRef.current.state), - community: 'discours', // ? + // community: 'discours', // ? Type 'string' is not assignable to type 'number'. slug: 'new-' + Math.floor(Math.random() * 1000000) } createArticle({ article })