import React, { PropTypes } from 'react' import { connect } from 'react-redux' import { bindActionCreators } from 'redux' import Header from '../../components/Header' import AlbumGrid from '../../components/AlbumGrid' import * as spotifyActions from '../../services/spotify/actions' class DiscoverNewReleases extends React.Component{ constructor(props) { super(props); } // on render componentDidMount(){ this.props.spotifyActions.getNewReleases(); } render(){ return (