diff --git a/client/components/new-post/index.tsx b/client/components/new-post/index.tsx index a12cc8fc..64d45cd0 100644 --- a/client/components/new-post/index.tsx +++ b/client/components/new-post/index.tsx @@ -73,15 +73,10 @@ const Post = () => { password, userId: Cookies.get('drift-userid') || '' }) - - - - setSubmitting(false) } const onClosePasswordModal = () => { setPasswordModalVisible(false) - setSubmitting(false) } const updateTitle = useCallback((title: string, id: string) => {