From 6ab52d6e0050e8955b1a0a8bd093c3b94ea8faa6 Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Tue, 21 Jan 2025 20:19:57 +0100 Subject: [PATCH] remove logs --- src/components/reply-quote-preview/reply-quote-preview.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/reply-quote-preview/reply-quote-preview.tsx b/src/components/reply-quote-preview/reply-quote-preview.tsx index 77337079..3e0644b3 100644 --- a/src/components/reply-quote-preview/reply-quote-preview.tsx +++ b/src/components/reply-quote-preview/reply-quote-preview.tsx @@ -35,11 +35,9 @@ const handleQuoteHover = (cid: string, onElementOutOfView: () => void) => { if (isInViewport(htmlElement)) { const hasHighlight = Array.from(htmlElement.classList).some((className) => className.includes('highlight') && !className.includes('double-highlight')); if (hasHighlight) { - console.log('contains highlight'); htmlElement.classList.remove('highlight'); htmlElement.classList.add('double-highlight'); } else { - console.log("doesn't contain highlight", htmlElement.classList); htmlElement.classList.remove('double-highlight'); htmlElement.classList.add('highlight'); }