import React from 'react'; import { Link } from 'react-router'; import { connect } from 'react-redux'; import { loadEntries } from '../actions/entries'; import EntryListing from '../components/EntryListing'; class DashboardPage extends React.Component { componentDidMount() { } componentWillReceiveProps(nextProps) { } render() { const { collection, entry } = this.props; return

Entry in {collection.get('label')}

{entry && entry.get('title')}

; } } function mapStateToProps(state, ownProps) { const { collections } = state; return { collection: collections.get(ownProps.params.name), collections: collections }; } export default connect(mapStateToProps)(DashboardPage);