Skip to content

Commit

Permalink
chore: remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
zugdev committed Dec 17, 2024
1 parent 7d02b1e commit 25f3bd7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/home/sorting/sort-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@ export function sortIssuesController(tasks: GitHubAggregated[], sorting?: Sortin
if (sorting) {
sortedNotifications = sortBy(sortedNotifications, sorting);
} else {
const sortedByFreshness = sortByActivity(sortedNotifications); // activity last
console.log("sortedByFreshness", sortedByFreshness);
const sortedByBacklinks = sortByBacklinks(sortedByFreshness); // backlinks second
console.log("sortedByBacklinks", sortedByBacklinks);
const sortedByPriority = sortByPriority(sortedByBacklinks); // highest priority first
console.log("sortedByPriority", sortedByPriority);
const sortedByFreshness = sortByActivity(sortedNotifications); // activity last
const sortedByBacklinks = sortByBacklinks(sortedByFreshness); // backlinks second
const sortedByPriority = sortByPriority(sortedByBacklinks); // highest priority first
sortedNotifications = sortedByPriority;
}

Expand Down

0 comments on commit 25f3bd7

Please sign in to comment.