mirror of
https://github.com/dergigi/boris.git
synced 2026-02-18 13:34:38 +01:00
chore: remove debug logging from bookmarkHelpers
- Remove 'NO MATCHES' debug logs from hydrateItems - Console is now clean, hydration is working properly
This commit is contained in:
@@ -170,15 +170,6 @@ export function hydrateItems(
|
||||
items: IndividualBookmark[],
|
||||
idToEvent: Map<string, NostrEvent>
|
||||
): IndividualBookmark[] {
|
||||
const kind1Items = items.filter(b => b.kind === 1)
|
||||
if (kind1Items.length > 0 && idToEvent.size > 0) {
|
||||
const found = kind1Items.filter(b => idToEvent.has(b.id))
|
||||
if (found.length === 0 && kind1Items.length > 0) {
|
||||
console.log('❌ NO MATCHES! Sample item IDs:', kind1Items.slice(0, 3).map(b => b.id))
|
||||
console.log('❌ Map keys:', Array.from(idToEvent.keys()).slice(0, 3))
|
||||
}
|
||||
}
|
||||
|
||||
return items
|
||||
.map(item => {
|
||||
const ev = idToEvent.get(item.id)
|
||||
|
||||
Reference in New Issue
Block a user