client/src/reducers/authReducer.js
author Alexandre Segura <mex.zktk@gmail.com>
Wed, 31 May 2017 17:51:54 +0200
changeset 12 48ddaa42b810
child 44 3b20e2b584fe
permissions -rw-r--r--
Draft implementation of sessions. - Introduce react-router & add some pages. - Add login page (does nothing). - Allow creating a new session. - Allow adding notes into a session.

export const isAuthenticated = (state = false, action) => {
  switch (action.type) {
    default:
      return state;
  }
};