From 7187888af33bf44581da32d5de0595dfee05d61b Mon Sep 17 00:00:00 2001 From: casens5 Date: Fri, 30 Aug 2024 11:39:39 -0500 Subject: [PATCH] add downvotes --- front_end/src/components/comment_feed/comment_voter.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/front_end/src/components/comment_feed/comment_voter.tsx b/front_end/src/components/comment_feed/comment_voter.tsx index 4ce7351e30..f43976807b 100644 --- a/front_end/src/components/comment_feed/comment_voter.tsx +++ b/front_end/src/components/comment_feed/comment_voter.tsx @@ -46,6 +46,7 @@ const CommentVoter: FC = ({ voteData, className }) => { userVote={userVote} votes={voteScore} onVoteUp={() => handleVote(1)} + onVoteDown={() => handleVote(-1)} /> ); };