From c664844e3c04d167d6fe56e57467772bfddc4a96 Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 6 Jul 2022 09:04:21 -0400 Subject: [PATCH] Persist suggestions when filtering feed --- app/soapbox/actions/timelines.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/actions/timelines.ts b/app/soapbox/actions/timelines.ts index 4528d4bd7..74622d180 100644 --- a/app/soapbox/actions/timelines.ts +++ b/app/soapbox/actions/timelines.ts @@ -142,7 +142,7 @@ const replaceHomeTimeline = ( { maxId }: Record = {}, ) => (dispatch: AppDispatch, _getState: () => RootState) => { dispatch({ type: TIMELINE_REPLACE, accountId }); - dispatch(expandHomeTimeline({ accountId, maxId })); + dispatch(expandHomeTimeline({ accountId, maxId }, () => dispatch(insertSuggestionsIntoTimeline()))); }; const expandTimeline = (timelineId: string, path: string, params: Record = {}, done = noOp) =>