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_createSessionSuccess(state, action) {
  return {
    ...state,
    loading: false,
    hosted_session: action.session,
  };
}
function session_createSessionSuccess ( state , action ) { return { ... state , loading : false , hosted_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