From a5494449504a720ddec4f50217c59557f7fc520e Mon Sep 17 00:00:00 2001 From: Jared Schoeny Date: Thu, 30 Oct 2025 11:38:39 -1000 Subject: [PATCH] Improve no results screen for DiscoverBrowser --- src/components/Discover/DiscoverBrowser.tsx | 36 ++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/src/components/Discover/DiscoverBrowser.tsx b/src/components/Discover/DiscoverBrowser.tsx index 50b1d8a..9cfcba5 100644 --- a/src/components/Discover/DiscoverBrowser.tsx +++ b/src/components/Discover/DiscoverBrowser.tsx @@ -284,7 +284,41 @@ export default function DiscoverBrowser() { ) : filtered.length === 0 ? (
No hacks found
-

Please try again later.

+

+ {query ? ( + <> + No results for "{query}" + + ) : ( + <>No results + )} + {(selectedTags.length > 0 || selectedBaseRoms.length > 0) && ( + <> + {" "}with the selected filters + + )}. +

+
+ {query && ( + + )} + {(selectedTags.length > 0 || selectedBaseRoms.length > 0) && ( + + )} +
) : (