mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-26 22:31:13 +00:00
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