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