render transcript below video
This commit is contained in:
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user