mirror of
https://github.com/dergigi/boris.git
synced 2026-02-03 14:14:31 +01:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user