From 97a3515e560483f3b8ec79fdaa0dcec741702e3f Mon Sep 17 00:00:00 2001 From: Adam Antal Date: Tue, 23 Apr 2024 21:41:22 +0200 Subject: [PATCH] Render the search result app even if the q is an empty string --- src/apps/search-result/search-result.entry.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/search-result/search-result.entry.tsx b/src/apps/search-result/search-result.entry.tsx index 6a2ec945e2..9092369343 100644 --- a/src/apps/search-result/search-result.entry.tsx +++ b/src/apps/search-result/search-result.entry.tsx @@ -77,7 +77,8 @@ const SearchResultEntry: React.FC = ({ return (
- {searchQuery && ( + {/* We still want to render the app, even if the search query is an empty string */} + {(searchQuery || searchQuery === "") && (