From deab9974fadb7b74ce4c2f031daa9cf1e2c710f8 Mon Sep 17 00:00:00 2001 From: Gigi Date: Thu, 30 Oct 2025 21:05:45 +0100 Subject: [PATCH] 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 --- src/services/highlightEventProcessor.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/services/highlightEventProcessor.ts b/src/services/highlightEventProcessor.ts index ce05efad..02d33353 100644 --- a/src/services/highlightEventProcessor.ts +++ b/src/services/highlightEventProcessor.ts @@ -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,