Make suggestions box also use user list components

This commit is contained in:
Eugen Rochko
2016-10-28 20:26:49 +02:00
parent ac4f53a3a2
commit bfb6cc5f2c
5 changed files with 21 additions and 58 deletions

View File

@ -66,9 +66,3 @@ export const getNotifications = createSelector([getNotificationsBase], (base) =>
return arr;
});
const getSuggestionsBase = (state) => state.get('suggestions');
export const getSuggestions = createSelector([getSuggestionsBase, getAccounts], (base, accounts) => {
return base.map(accountId => accounts.get(accountId));
});