I have this code
export const callingEveSkill = () => (dispatch, getState) => {
  fetch('https://esi.tech.ccp.is/latest/characters/' + getState().ViewChr.Cid + '/skills/?datasource=tranquility&token=' + getState().ViewChr.At)
    .then(response => response.json())
    .then(json => {
         var SkillList = ( json.skills.map((item, i) => {
             var skill = TypeIdToName(item.skill_id)
            return  {
                skill_id: (skill) ,
                current_skill_level: item.current_skill_level,
                skillpoints_in_skill: item.skillpoints_in_skill
            }
           }))
        return SkillList
    })
    .then( SkillList => {
        dispatch(updateSk( SkillList))
        dispatch(updateSkL('true'))
    })
    .catch(err => {
        console.log("skill error:" + err)
    });
}
In side the code i call TypeIdToName to call a 3rd party api to change the skill id to readable text. I see the calls going out and that it returns the readable name but the SkillList show as undefined.
 
    