Display follow suggestions

This commit is contained in:
Eugen Rochko
2016-10-15 12:06:30 +02:00
parent e21a3fe0cd
commit 20f581f796
8 changed files with 146 additions and 6 deletions

View File

@ -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));
});