diff --git a/app/components/layout/GlobalSearch.tsx b/app/components/layout/GlobalSearch.tsx index 8a0fdf877..ccd599cf0 100644 --- a/app/components/layout/GlobalSearch.tsx +++ b/app/components/layout/GlobalSearch.tsx @@ -234,7 +234,9 @@ function GlobalSearchContent({ ); const hasQuery = query.length >= 3; - const results = hasQuery ? (fetcher.data?.results ?? []) : []; + const fetchedType = fetcher.data?.type ?? null; + const results = + hasQuery && fetchedType === searchType ? (fetcher.data?.results ?? []) : []; const weaponResults = searchType === "weapons" && hasQuery ? filterWeaponResults(query, t) : [];