src/actions/user-select.js
/**
 * Action to denote the user selection, will add the type and wrap the selected
 * user in action object.
 * @param {*} user
 */
Action to denote the user selection, will add the type and wrap the selected
user in action object.
@param {*} user
Action to denote the user selection will add the type and wrap the selected user in action object . @param { * } user
function selectUser(user) {
  return {
    [ACTION_TYPE]: USER_SELECT_ACTION,
    [ACTION_PAYLOAD]: user,
  };
}
function selectUser ( user ) { return { [ ACTION_TYPE ] : USER_SELECT_ACTION , [ ACTION_PAYLOAD ] : user , } ; }
Action to denote the user selection, will add the type and wrap the selected
 user in action object.
Action to denote the user selection will add the type and wrap the selected user in action object .
//   console.log(`selected user `, user);