mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
eslint: Fix unicorn/no-array-callback-reference.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
552f4e3d22
commit
6cd694b8e3
@@ -332,7 +332,9 @@ exports.launch = function () {
|
||||
(draft_a, draft_b) => draft_b.updatedAt - draft_a.updatedAt,
|
||||
);
|
||||
|
||||
const sorted_formatted_drafts = sorted_raw_drafts.map(exports.format_draft).filter(Boolean);
|
||||
const sorted_formatted_drafts = sorted_raw_drafts
|
||||
.map((draft_row) => exports.format_draft(draft_row))
|
||||
.filter(Boolean);
|
||||
|
||||
return sorted_formatted_drafts;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user