client: fix submitting status on new post
This commit is contained in:
parent
d06d0ffea2
commit
2ec4019ea2
1 changed files with 0 additions and 5 deletions
|
@ -73,15 +73,10 @@ const Post = () => {
|
||||||
password,
|
password,
|
||||||
userId: Cookies.get('drift-userid') || ''
|
userId: Cookies.get('drift-userid') || ''
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
setSubmitting(false)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const onClosePasswordModal = () => {
|
const onClosePasswordModal = () => {
|
||||||
setPasswordModalVisible(false)
|
setPasswordModalVisible(false)
|
||||||
setSubmitting(false)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const updateTitle = useCallback((title: string, id: string) => {
|
const updateTitle = useCallback((title: string, id: string) => {
|
||||||
|
|
Loading…
Reference in a new issue