Formatting

This commit is contained in:
Jon Staab
2025-04-29 09:47:11 -07:00
parent 8a153283de
commit dcf8569376
3 changed files with 9 additions and 6 deletions
+4 -1
View File
@@ -62,7 +62,10 @@ export const getCommentTags = (tags: string[][]) => {
}
export const getCommentTagValues = (tags: string[][]) =>
mapVals(tags => tags.filter(t => ['a', 'e'].includes(t[0].toLowerCase())).map(nth(1)), getCommentTags(tags))
mapVals(
tags => tags.filter(t => ["a", "e"].includes(t[0].toLowerCase())).map(nth(1)),
getCommentTags(tags),
)
export const getReplyTags = (tags: string[][]) => {
const validTags = tags.filter(t => ["a", "e", "q"].includes(t[0]))