Closed umutdenizsenerr closed 1 year ago
I reviewed "handleDownvote" and "handleUpvote" functions. You called API via that functins and you created a boolean variable to store information about whether there is update on number of upvotes and downvotes. You rendered page according to that variable. It is good solution for that feature. I also checked response of downvote and upvote APIs. All of them worked as we desired. Therefore, I will merge. Thanks !
I have implemented the backend connection for upvoting and downvoting the posts.