mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-24 23:04:14 +00:00
Change follow recommendations to be limited to 20 instead of 40 in web UI (#16077)
This commit is contained in:
parent
23b102f661
commit
7762d3d275
|
@ -12,7 +12,7 @@ export function fetchSuggestions(withRelationships = false) {
|
|||
return (dispatch, getState) => {
|
||||
dispatch(fetchSuggestionsRequest());
|
||||
|
||||
api(getState).get('/api/v2/suggestions').then(response => {
|
||||
api(getState).get('/api/v2/suggestions', { params: { limit: 20 } }).then(response => {
|
||||
dispatch(importFetchedAccounts(response.data.map(x => x.account)));
|
||||
dispatch(fetchSuggestionsSuccess(response.data));
|
||||
|
||||
|
|
Loading…
Reference in a new issue