style: auto-fix lint and format
This commit is contained in:
1 parent
18d6013f3f
commit
a164c951ce
38 files changed
+58
-83
No files matched your search
@@ -34,7 +34,7 @@ export const rssFeedRouter = createTRPCRouter({
|
||||
return rssFeeds
|
||||
.flatMap((rssFeed) => rssFeed.data.entries)
|
||||
.slice(0, input.maximumAmountPosts)
|
||||
.sort((entryA, entryB) => {
|
||||
.toSorted((entryA, entryB) => {
|
||||
return entryA.published && entryB.published
|
||||
? new Date(entryB.published).getTime() - new Date(entryA.published).getTime()
|
||||
: 0;
|
||||
|
||||
Reference in new issue
Block a user