src/redux/reducers/session.js
// Get data returned from the server and return it as the new state for user data
Get data returned from the server and return it as the new state for user data
Get data returned from the server and return it as the new state for user data
function session_getSessionSuccess(state, action) {
  return {
    ...state,
    loading: false,
    error: null,
    connected_session: action.session,
  };
}
function session_getSessionSuccess ( state , action ) { return { ... state , loading : false , error : null , connected_session : action . session , } ; }
Get data returned from the server and return it as the new state for user data
Get data returned from the server and return it as the new state for user data