Jammming Step 41 - use includes instead of find

For step 41 in the Jammming project (https://www.codecademy.com/paths/web-development/tracks/front-end-applications-with-react/modules/jammming/projects/jammming-prj), I tried using includes instead of find. It is giving the TypeError: this.props.track is undefined can someone help where I am making a mistake if I want to keep using includes or if not why I should be using find instead?

    if (this.state.playlistTracks.includes(this.props.track.id)) {return;}
    else {this.state.playlistTracks.push(track);