use title field

pull/1319/head^2
Berkeley Martinez 2015-07-13 18:42:43 -07:00
parent 02e4c66726
commit cc418e780b
1 changed files with 2 additions and 2 deletions

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>
);