diff -r f16a080e0bc4 -r 1eb52770eefa client/src/reducers/sessionsReducer.js --- a/client/src/reducers/sessionsReducer.js Mon Jun 19 21:37:33 2017 +0200 +++ b/client/src/reducers/sessionsReducer.js Mon Jun 19 21:46:21 2017 +0200 @@ -1,14 +1,14 @@ import Immutable from 'immutable'; import * as types from '../constants/actionTypes'; -// export const currentSession = (state = null, action) => { -// switch (action.type) { -// case types.CREATE_SESSION: -// return action.session; -// default: -// return state; -// } -// }; +export const currentSession = (state = null, action) => { + switch (action.type) { + case types.CREATE_SESSION: + return action.session; + default: + return state; + } +}; export const sessions = (state = Immutable.List([]), action) => { switch (action.type) {