refactor: shorter check

This commit is contained in:
Barış Soner Uşaklı
2026-02-12 21:26:40 -05:00
parent 1020092b97
commit b0f2feadf4

View File

@@ -374,11 +374,7 @@ module.exports = function (utils, Benchpress, relative_path) {
}
function shouldHideReplyContainer(post) {
if (post.replies.count <= 0 || post.replies.hasSingleImmediateReply) {
return true;
}
return false;
return post.replies.count <= 0 || post.replies.hasSingleImmediateReply;
}
function humanReadableNumber(number, toFixed = 1) {