style: auto format
This commit is contained in:
parent
106a052404
commit
048db48553
|
|
@ -32,8 +32,7 @@ module.exports = async (ctx) => {
|
|||
date: $el.children().first().find('small').children().remove().end().text().slice(3),
|
||||
};
|
||||
});
|
||||
const finalLatestReplies = (latestReplies.concat(latestSubReplies))
|
||||
.sort((a, b) => a.id < b.id ? 1 : -1);
|
||||
const finalLatestReplies = latestReplies.concat(latestSubReplies).sort((a, b) => (a.id < b.id ? 1 : -1));
|
||||
|
||||
const postTopic = {
|
||||
title,
|
||||
|
|
|
|||
Loading…
Reference in New Issue