fix: resolve TypeScript type errors in bookmark hydration promises

Add .then() handlers to convert Promise<NostrEvent[]> to Promise<void>
for compatibility with Promise<void>[] array type.
This commit is contained in:
Gigi
2025-10-22 11:30:53 +02:00
parent 3ab0610e1e
commit dddf8575c4

View File

@@ -230,7 +230,9 @@ class BookmarkController {
onProgress()
}
}
).catch(() => {
).then(() => {
// Query completed successfully
}).catch(() => {
// Silent error - individual query failed
})
)
@@ -265,7 +267,9 @@ class BookmarkController {
onProgress()
}
}
).catch(() => {
).then(() => {
// Query completed successfully
}).catch(() => {
// Silent error - individual query failed
})
)