Guest User

Untitled

a guest
Aug 28th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. export const getViewState = state => Object.assign({}, state, {
  2. // return a list of users active during this session
  3. recentlyActiveUsers: [...new Set(state.chatLog.map(chat => chat.user))]
  4. });
Add Comment
Please, Sign In to add comment