mirror of
https://github.com/dergigi/boris.git
synced 2026-01-27 02:34:33 +01:00
fix(lint): resolve unused var and empty catch issues
This commit is contained in:
@@ -364,7 +364,9 @@ class ReadingProgressController {
|
||||
try {
|
||||
const naddr = nip19.naddrEncode({ kind: KINDS.BlogPost, pubkey: article.pubkey, identifier: dTag })
|
||||
eventIdToNaddr.set(article.id, naddr)
|
||||
} catch {}
|
||||
} catch (e) {
|
||||
console.warn('[readingProgress] Failed to encode naddr for article:', article.id)
|
||||
}
|
||||
}
|
||||
|
||||
// Map pending event IDs to naddrs and emit
|
||||
|
||||
Reference in New Issue
Block a user