From 3bef7c69ff0b21157f70ec60ca3bfbd0d76755d3 Mon Sep 17 00:00:00 2001 From: Justin Date: Fri, 9 Sep 2022 10:43:33 -0400 Subject: [PATCH] Map paginated results into normalized Tag --- app/soapbox/reducers/search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/reducers/search.ts b/app/soapbox/reducers/search.ts index eb2c1ed8db..9110085059 100644 --- a/app/soapbox/reducers/search.ts +++ b/app/soapbox/reducers/search.ts @@ -82,7 +82,7 @@ const paginateResults = (state: State, searchType: SearchFilter, results: APIEnt const data = results[searchType]; // Hashtags are a list of maps. Others are IDs. if (searchType === 'hashtags') { - return (items as ImmutableOrderedSet).concat(fromJS(data)); + return (items as ImmutableOrderedSet).concat((fromJS(data) as Record).map(normalizeTag)); } else { return (items as ImmutableOrderedSet).concat(toIds(data)); }