clean code

This commit is contained in:
Ivo Barros 2023-06-18 00:51:32 +01:00
parent 3ca24607fb
commit 5e9a414dfc

View file

@ -986,9 +986,9 @@ export function commentsToFlatNodes(comments: CommentView[]): CommentNodeI[] {
export function convertCommentSortType(sort: SortType): CommentSortType {
if (
sort == "TopAll" ||
sort == "TopHour" ||
sort == "TopSixHour" ||
sort == "TopTwelveHour" ||
sort == "TopHour" ||
sort == "TopSixHour" ||
sort == "TopTwelveHour" ||
sort == "TopDay" ||
sort == "TopWeek" ||
sort == "TopMonth" ||