diff --git a/apps/desktop/src/components/main/body/sessions/note-input/transcript/search-context.tsx b/apps/desktop/src/components/main/body/sessions/note-input/transcript/search-context.tsx index ebb80d9fd4..ddb608cb10 100644 --- a/apps/desktop/src/components/main/body/sessions/note-input/transcript/search-context.tsx +++ b/apps/desktop/src/components/main/body/sessions/note-input/transcript/search-context.tsx @@ -31,7 +31,7 @@ function getMatchingElements( container: HTMLElement | null, query: string, ): HTMLElement[] { - if (!container || !query) { + if (!container || !query.trim()) { return []; }