client: fix submitting status on new post

This commit is contained in:
Max Leiter 2022-03-21 14:56:45 -07:00
parent d06d0ffea2
commit 2ec4019ea2
No known key found for this signature in database
GPG key ID: A3512F2F2F17EBDA

View file

@ -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) => {