From 3202a153ce091951d7bd0fa398ae95dffa67062b Mon Sep 17 00:00:00 2001 From: JATMN Date: Tue, 27 Oct 2026 06:16:03 -0700 Subject: [PATCH] chore: remove useless search and markdown expressions (#2437) --- src/components/GlobalSearchDialog.tsx | 1 - src/components/Markdown.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/src/components/GlobalSearchDialog.tsx b/src/components/GlobalSearchDialog.tsx index cebc7faba..587291394 100644 --- a/src/components/GlobalSearchDialog.tsx +++ b/src/components/GlobalSearchDialog.tsx @@ -296,7 +296,6 @@ function _temp4( return; } collected = collected + parsed.length; - collected; setMatches_0(prev => { const seen = new Set(prev.map(matchKey)); const fresh = parsed.filter(p => !seen.has(matchKey(p))); diff --git a/src/components/Markdown.tsx b/src/components/Markdown.tsx index defe1a063..489e3a0f0 100644 --- a/src/components/Markdown.tsx +++ b/src/components/Markdown.tsx @@ -146,7 +146,6 @@ function MarkdownBody(t0) { elements.push(); } else { nonTableContent = nonTableContent + formatToken(token, theme, 0, null, null, highlight, tokens[index - 1]); - nonTableContent; } } flushNonTableContent();