mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-30 08:11:14 +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 {
|
export function convertCommentSortType(sort: SortType): CommentSortType {
|
||||||
if (
|
if (
|
||||||
sort == "TopAll" ||
|
sort == "TopAll" ||
|
||||||
sort == "TopHour" ||
|
sort == "TopHour" ||
|
||||||
sort == "TopSixHour" ||
|
sort == "TopSixHour" ||
|
||||||
sort == "TopTwelveHour" ||
|
sort == "TopTwelveHour" ||
|
||||||
sort == "TopDay" ||
|
sort == "TopDay" ||
|
||||||
sort == "TopWeek" ||
|
sort == "TopWeek" ||
|
||||||
sort == "TopMonth" ||
|
sort == "TopMonth" ||
|
||||||
|
|
Loading…
Reference in a new issue