diff --git a/packages/pl-fe/src/actions/compose.ts b/packages/pl-fe/src/actions/compose.ts index 64d6d643f..a3b92ee30 100644 --- a/packages/pl-fe/src/actions/compose.ts +++ b/packages/pl-fe/src/actions/compose.ts @@ -619,7 +619,7 @@ const fetchComposeSuggestionsTags = (dispatch: AppDispatch, getState: () => Root const { trends } = state.auth.client.features; if (trends) { - const currentTrends = state.trends.items.toArray(); + const currentTrends = state.trends.items; return dispatch(updateSuggestionTags(composeId, token, currentTrends)); } diff --git a/packages/pl-fe/src/actions/search.ts b/packages/pl-fe/src/actions/search.ts index 058b9e196..d97bac2ef 100644 --- a/packages/pl-fe/src/actions/search.ts +++ b/packages/pl-fe/src/actions/search.ts @@ -93,7 +93,7 @@ const setFilter = (value: string, filterType: SearchFilter) => const expandSearch = (type: SearchFilter) => (dispatch: AppDispatch, getState: () => RootState) => { if (type === 'links') return; const value = getState().search.submittedValue; - const offset = getState().search.results[type].size; + const offset = getState().search.results[type].length; const accountId = getState().search.accountId; dispatch(expandSearchRequest(type));