use title field

This commit is contained in:
Berkeley Martinez
2015-07-13 18:42:43 -07:00
parent 02e4c66726
commit cc418e780b

View File

@ -21,11 +21,11 @@ export default contain(
hikes
} = this.props;
const vidElements = hikes.map(({ name, id }) => {
const vidElements = hikes.map(({ title, id }) => {
return (
<ListGroupItem key={ id }>
<Link to={ `/hikes/${id}` }>
<h3>{ name }</h3>
<h3>{ title }</h3>
</Link>
</ListGroupItem>
);