Persist suggestions when filtering feed
This commit is contained in:
parent
2f465fbc14
commit
c664844e3c
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ const replaceHomeTimeline = (
|
||||||
{ maxId }: Record<string, any> = {},
|
{ maxId }: Record<string, any> = {},
|
||||||
) => (dispatch: AppDispatch, _getState: () => RootState) => {
|
) => (dispatch: AppDispatch, _getState: () => RootState) => {
|
||||||
dispatch({ type: TIMELINE_REPLACE, accountId });
|
dispatch({ type: TIMELINE_REPLACE, accountId });
|
||||||
dispatch(expandHomeTimeline({ accountId, maxId }));
|
dispatch(expandHomeTimeline({ accountId, maxId }, () => dispatch(insertSuggestionsIntoTimeline())));
|
||||||
};
|
};
|
||||||
|
|
||||||
const expandTimeline = (timelineId: string, path: string, params: Record<string, any> = {}, done = noOp) =>
|
const expandTimeline = (timelineId: string, path: string, params: Record<string, any> = {}, done = noOp) =>
|
||||||
|
|
Loading…
Reference in a new issue