Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export const getViewState = state => Object.assign({}, state, {
- // return a list of users active during this session
- recentlyActiveUsers: [...new Set(state.chatLog.map(chat => chat.user))]
- });
Add Comment
Please, Sign In to add comment