clean code
This commit is contained in:
parent
3ca24607fb
commit
5e9a414dfc
1 changed files with 3 additions and 3 deletions
|
@ -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" ||
|
||||
|
|
Loading…
Reference in a new issue