lint temp.fix

This commit is contained in:
ilya-bkv 2022-12-07 09:15:33 +03:00
parent 26ba1448a3
commit c41edc3387

View File

@ -59,7 +59,7 @@ export const Editor = () => {
const handleSaveButtonClick = () => { const handleSaveButtonClick = () => {
const article: ShoutInput = { const article: ShoutInput = {
body: getHtml(editorViewRef.current.state), body: getHtml(editorViewRef.current.state),
community: 'discours', // ? // community: 'discours', // ? Type 'string' is not assignable to type 'number'.
slug: 'new-' + Math.floor(Math.random() * 1000000) slug: 'new-' + Math.floor(Math.random() * 1000000)
} }
createArticle({ article }) createArticle({ article })