Skip to content

Commit 600f6b8

Browse files
committed
chore: update fn description
Signed-off-by: Adam Setch <[email protected]>
1 parent 4b36edb commit 600f6b8

File tree

1 file changed

+4
-5
lines changed
  • src/renderer/utils/notifications

1 file changed

+4
-5
lines changed

src/renderer/utils/notifications/group.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,10 @@ export function groupNotificationsByRepository(
3636
}
3737

3838
return repoGroups;
39-
}
40-
41-
/**
42-
* Returns a flattened, ordered Notification[] according to repository-first-seen order
43-
* (when grouped) or the natural account->notification order otherwise.
39+
} /**
40+
* Returns a flattened, ordered notifications list according to:
41+
* - repository-first-seen order (when grouped)
42+
* - natural notifications order otherwise
4443
*/
4544
export function getFlattenedNotificationsByRepo(
4645
notifications: Notification[],

0 commit comments

Comments
 (0)