restructure note component

This commit is contained in:
Ren Amamiya
2023-06-20 09:01:48 +07:00
parent aa8531b32b
commit 9b84068e6d
22 changed files with 257 additions and 286 deletions

View File

@@ -80,7 +80,7 @@ export function isTagsIncludeID(id: string, arr: NDKTag[]) {
}
// get parent id from event tags
export function getQuoteID(arr: NDKTag[]) {
export function getRepostID(arr: NDKTag[]) {
const tags = destr(arr);
let quoteID = null;