From c41edc338704d5c474770e9b00d258024e60f329 Mon Sep 17 00:00:00 2001 From: ilya-bkv Date: Wed, 7 Dec 2022 09:15:33 +0300 Subject: [PATCH] lint temp.fix --- src/components/EditorNew/Editor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 })