render transcript below video

This commit is contained in:
Berkeley Martinez
2015-07-14 23:06:54 -07:00
parent 5e02896269
commit 3dbe91e92d

View File

@ -40,8 +40,13 @@ export default contain(
}, },
render() { render() {
const { title, challengeSeed } = this.props.currentHike; const {
const [ id ] = challengeSeed || ['1']; title,
challengeSeed = ['1'],
description = []
} = this.props.currentHike;
const [ id ] = challengeSeed;
return ( return (
<Col xs={ 12 }> <Col xs={ 12 }>
@ -56,6 +61,15 @@ export default contain(
onFinish= { this.handleFinish } onFinish= { this.handleFinish }
videoId={ id } /> videoId={ id } />
</Row> </Row>
<Row>
<Col xs={ 12 }>
<Panel>
<p>
{ description.join('\n') }
</p>
</Panel>
</Col>
</Row>
</Col> </Col>
); );
} }