Skip to content

Commit f0d39ac

Browse files
Clean up reply input dependencies
Co-authored-by: Neil Raina <makeitraina@users.noreply.github.com>
1 parent dcb15e5 commit f0d39ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/inputs/ReplyInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const ReplyInput = ({
5959
setDetail('')
6060
setPendingReplies((prev) => [...prev, { content, taskId: task_id }])
6161
}
62-
}, [comment, detail, task_id])
62+
}, [detail, task_id])
6363

6464
useEffect(() => {
6565
if (pendingReplies.length === 0 || !commentId || isPendingCommentId(commentId)) return

0 commit comments

Comments
 (0)