From 1f4dd04ef0562e98615da893164bc8b6eb574be2 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 23 Sep 2025 22:08:17 +0300 Subject: [PATCH] fix(client/search): highlight remaining stuck --- apps/client/src/widgets/react/NoteLink.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/react/NoteLink.tsx b/apps/client/src/widgets/react/NoteLink.tsx index 2a9ec199d..06841b534 100644 --- a/apps/client/src/widgets/react/NoteLink.tsx +++ b/apps/client/src/widgets/react/NoteLink.tsx @@ -28,7 +28,7 @@ export default function NoteLink({ className, notePath, showNotePath, showNoteIc if (!ref.current || !jqueryEl) return; ref.current.replaceChildren(jqueryEl[0]); highlightSearch(ref.current); - }, [ jqueryEl ]); + }, [ jqueryEl, highlightedTokens ]); if (style) { jqueryEl?.css(style);