Skip to content

Commit

Permalink
Allow replying to yourself
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-sherman committed Nov 17, 2024
1 parent 5014c42 commit 921142c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ export function CommentClientWrapperWithToolbar({
<Button
variant="ghost"
size="icon"
onClick={() => !hasAuthored && setShowNewComment(true)}
disabled={hasAuthored || !allowReply}
onClick={() => setShowNewComment(true)}
disabled={!allowReply}
>
<ChatBubbleIcon className="w-4 h-4" />
<span className="sr-only">Reply</span>
Expand Down

0 comments on commit 921142c

Please sign in to comment.