From 80109683631208690e254a503cc7516fa13894a2 Mon Sep 17 00:00:00 2001 From: neerajadhav Date: Tue, 8 Jul 2025 18:25:23 +0530 Subject: [PATCH] fix: code formating issue --- quartz/components/scripts/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quartz/components/scripts/util.ts b/quartz/components/scripts/util.ts index 66fe60c4e..cf7a6a6ec 100644 --- a/quartz/components/scripts/util.ts +++ b/quartz/components/scripts/util.ts @@ -82,7 +82,7 @@ export function highlightElement( color: string = "var(--highlight, #ffeb3b40)", ) { // Clear any existing highlight on this element - const existingHighlight = Array.from(activeHighlights).find(h => h.element === el) + const existingHighlight = Array.from(activeHighlights).find((h) => h.element === el) if (existingHighlight) { clearTimeout(existingHighlight.timeoutId) activeHighlights.delete(existingHighlight)