src/components/PosterCard.js
// beginDrag should return an object, the "payload" of the drag and drop
beginDrag should return an object, the "payload" of the drag and drop
beginDrag should return an object the " payload " of the drag and drop
beginDrag(props) {
    return {
      id: props.id,
      title: props.title,
      media_type: props.mediaType,
      vote_average: props.voteAverage,
      release_date: props.releaseDate,
      poster_path: props.posterPath,
    };
  }
beginDrag ( props ) { return { id : props . id , title : props . title , media_type : props . mediaType , vote_average : props . voteAverage , release_date : props . releaseDate , poster_path : props . posterPath , } ; }
beginDrag should return an object, the "payload" of the drag and drop
beginDrag should return an object the " payload " of the drag and drop