lint temp.fix
This commit is contained in:
parent
26ba1448a3
commit
c41edc3387
|
@ -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 })
|
||||
|
|
Loading…
Reference in New Issue
Block a user