From a7a8f806e89e376c42e81357d8cc28a9a0e0420b Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 20 Oct 2025 19:30:44 +0300 Subject: [PATCH] fix(client): search results taking up space when not needed --- apps/client/src/widgets/search_result.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/client/src/widgets/search_result.tsx b/apps/client/src/widgets/search_result.tsx index fd3c24ab4..3049d5292 100644 --- a/apps/client/src/widgets/search_result.tsx +++ b/apps/client/src/widgets/search_result.tsx @@ -4,7 +4,6 @@ import Alert from "./react/Alert"; import { useNoteContext, useTriliumEvent } from "./react/hooks"; import "./search_result.css"; import { SearchNoteList } from "./collections/NoteList"; -// import NoteListRenderer from "../services/note_list_renderer"; enum SearchResultState { NO_RESULTS, @@ -43,7 +42,7 @@ export default function SearchResult() { }); return ( -
+
{state === SearchResultState.NOT_EXECUTED && ( {t("search_result.search_not_executed")} )}