client/src/reducers/sessionsReducer.js
changeset 58 f16a080e0bc4
parent 29 4cfeabef7d5e
child 59 1eb52770eefa
--- a/client/src/reducers/sessionsReducer.js	Mon Jun 19 18:32:27 2017 +0200
+++ b/client/src/reducers/sessionsReducer.js	Mon Jun 19 21:37:33 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) {