Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(client/search): highlight remaining stuck
Elian Doran1f4dd04ef056
diff --git a/apps/client/src/widgets/react/NoteLink.tsx b/apps/client/src/widgets/react/NoteLink.tsxindex 2a9ec199d2..06841b5349 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, showNoteIcif (!ref.current || !jqueryEl) return;ref.current.replaceChildren(jqueryEl[0]);highlightSearch(ref.current);- }, [ jqueryEl ]);+ }, [ jqueryEl, highlightedTokens ]);if (style) {jqueryEl?.css(style);