content: import React, { Component } from 'react';
  import Playlist from './playlists'
  
  export default class PlaylistContainer extends Component {
    render() {
      // const podcastPlaylists = this.props.data.map(function(data){
      //   return <Playlist {...data} />
      // })
      const podcastPlaylists = this.props.data.map((data, i) => {
        data = { ...data, id: i }
        return <Playlist { ...data } />
      })
      return (
        <div className="playlists">
          {podcastPlaylists}
        </div>
      );
    }
  }
  
  