refactor: yarn format

This commit is contained in:
kPherox
2023-02-18 10:10:18 +09:00
parent 188b599e85
commit b7b23dcfc7
2 changed files with 12 additions and 2 deletions

View File

@ -153,7 +153,9 @@ export default function useTimelineFeed(subject: TimelineSubject, options: Timel
.filter(a => a)
.map(a => unwrap(a)[1]);
const repostsByKind1 = main.store.notes
.filter(a => (a.kind === EventKind.Repost || a.kind === EventKind.TextNote) && a.tags.some(tagFilterOfTextRepost(a)))
.filter(
a => (a.kind === EventKind.Repost || a.kind === EventKind.TextNote) && a.tags.some(tagFilterOfTextRepost(a))
)
.map(a => a.tags.find(tagFilterOfTextRepost(a)))
.filter(a => a)
.map(a => unwrap(a)[1]);