style(board): show rules under description

This commit is contained in:
Tom (plebeius.eth)
2024-09-15 21:27:32 +02:00
parent 3e8053b9bf
commit b363c27108
8 changed files with 57 additions and 18 deletions
+5
View File
@@ -53,6 +53,11 @@ const useReplies = (comment: Comment) => {
});
}, [flattenedReplies, accountRepliesNotYetPublished]);
// if the comment is a fake comment for description or rules, return an empty array
if (comment?.isDescription || comment?.isRules) {
return [];
}
return repliesAndNotYetPublishedReplies;
};