Skip to content

Commit

Permalink
feat: never disable comment button (#85)
Browse files Browse the repository at this point in the history
This is just to not disable the comment button when logged in user has
already commented: the link should still work and the user can of course
add a second comment.
  • Loading branch information
claudio-OST authored May 11, 2024
1 parent b15b01f commit bc2cd7f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/comment-button/comment-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export const CommentButton: React.FC<CommentButtonProps> = ({ count, hasCommente
isToggled={hasCommented}
onClick={handleCommentClick}
color="primary"
disabled={hasCommented}
useToggledColor={false}
icon={<ReplyIcon size="s" color="base" />}
hoveredIcon={<ReplyIcon size="s" color="primary" />}
Expand Down

0 comments on commit bc2cd7f

Please sign in to comment.