lower threshold for comments slimed to death

This commit is contained in:
Sean Yesmunt 2020-10-26 14:06:33 -04:00
parent 2716d9441c
commit ca7a0794a8

View file

@ -105,7 +105,7 @@ function Comment(props: Props) {
const likesCount = (othersReacts && othersReacts.like) || 0; const likesCount = (othersReacts && othersReacts.like) || 0;
const dislikesCount = (othersReacts && othersReacts.dislike) || 0; const dislikesCount = (othersReacts && othersReacts.dislike) || 0;
const totalLikesAndDislikes = likesCount + dislikesCount; const totalLikesAndDislikes = likesCount + dislikesCount;
const slimedToDeath = totalLikesAndDislikes > 5 && dislikesCount / totalLikesAndDislikes > 0.8; const slimedToDeath = totalLikesAndDislikes >= 5 && dislikesCount / totalLikesAndDislikes > 0.8;
// to debounce subsequent requests // to debounce subsequent requests
const shouldFetch = const shouldFetch =
channel === undefined || channel === undefined ||