fix: remove excessive logging from eventToHighlight

- Remove console.log that was spamming console with EVENT-TO-HIGHLIGHT logs
- This function is called frequently during renders, causing performance issues
- Keep the function logic but remove the logging
This commit is contained in:
Gigi
2025-10-30 21:05:45 +01:00
parent 49872337f3
commit deab9974fa

View File

@@ -31,14 +31,6 @@ export function eventToHighlight(event: NostrEvent): Highlight {
// Check if this event has custom properties from our highlight creation process
const customProps = (event as any).__highlightProps || {}
console.log('🔄 [EVENT-TO-HIGHLIGHT] Converting event to highlight:', {
eventId: event.id,
hasCustomProps: !!(event as any).__highlightProps,
customProps: customProps,
publishedRelays: customProps.publishedRelays,
isLocalOnly: customProps.isLocalOnly
})
return {
id: event.id,
pubkey: event.pubkey,