update thread & add reply form

This commit is contained in:
Ren Amamiya
2023-06-12 14:24:07 +07:00
parent 10f2f530c7
commit 0147a70e8f
5 changed files with 57 additions and 29 deletions

View File

@@ -87,11 +87,7 @@ export function getQuoteID(arr: string[]) {
if (tags[0][0] === "e") {
quoteID = tags[0][1];
} else {
tags.forEach((tag) => {
if (tag[0] === "e") {
quoteID = tag[1];
}
});
quoteID = tags.find((t) => t[0] === "e")?.[1];
}
}