Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 실제로 좋아요와 싫어요를 취소했을 때에만 count 감소한다 #137

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

melonturtle
Copy link
Contributor

What is this PR? 🔍

  • 지금 댓글 중에 싫어요 수가 음수인 댓글이 있습니다.
    image

  • 확인하고 로직 보니까 removeIf 인데 좋아요와 싫어요 count는 항상 decrease하고 있어서 조건문만 추가해줬습니다~

@melonturtle melonturtle requested a review from 60jong January 15, 2024 03:11
Copy link
Collaborator

@60jong 60jong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

간단한걸 실수했네요.. 감사합니다!

@60jong 60jong merged commit 7471ab8 into main Jan 16, 2024
1 check passed
@60jong 60jong deleted the count-fix branch January 16, 2024 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants