Https://www.codecademy.com/paths/full-stack-engineer-career-path/tracks/fscp-react-part-ii/modules/fecp-challenge-project-jammming/projects/jammming-prj

Hi member of codecademy in the project of jamming of React chapiterII,i try to create the component of TrackList like that :

`import React from “react”;
import “./TrackList.css”;
import Track from “…/Track/Track”;

class TrackList extends React.Component {
render() {

return(

{this.props.tracks.map(track=>{ return }) }
)

}
}

export default TrackList;`
the console display to me this error : TypeError: Cannot read property ‘map’ of undefined

https://www.codecademy.com/paths/full-stack-engineer-career-path/tracks/fscp-react-part-ii/modules/fecp-challenge-project-jammming/projects/jammming-prj

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.