Make suggestions box also use user list components
This commit is contained in:
parent
ac4f53a3a2
commit
bfb6cc5f2c
5 changed files with 21 additions and 58 deletions
|
@ -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));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue