Display follow suggestions
This commit is contained in:
@ -79,3 +79,9 @@ export const getNotifications = createSelector([getNotificationsBase], (base) =>
|
||||
|
||||
return arr;
|
||||
});
|
||||
|
||||
const getSuggestionsBase = (state) => state.getIn(['timelines', 'suggestions']);
|
||||
|
||||
export const getSuggestions = createSelector([getSuggestionsBase, getAccounts], (base, accounts) => {
|
||||
return base.map(accountId => accounts.get(accountId));
|
||||
});
|
||||
|
Reference in New Issue
Block a user