fix(client/search): highlight remaining stuck

This commit is contained in:
Elian Doran 2025-09-23 22:08:17 +03:00
parent 348432bd5b
commit 1f4dd04ef0
No known key found for this signature in database

View File

@ -28,7 +28,7 @@ export default function NoteLink({ className, notePath, showNotePath, showNoteIc
if (!ref.current || !jqueryEl) return; if (!ref.current || !jqueryEl) return;
ref.current.replaceChildren(jqueryEl[0]); ref.current.replaceChildren(jqueryEl[0]);
highlightSearch(ref.current); highlightSearch(ref.current);
}, [ jqueryEl ]); }, [ jqueryEl, highlightedTokens ]);
if (style) { if (style) {
jqueryEl?.css(style); jqueryEl?.css(style);