From 3dbe91e92d7e589de32d021ddfdbdaf771df3d12 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Tue, 14 Jul 2015 23:06:54 -0700 Subject: [PATCH] render transcript below video --- common/app/routes/Hikes/components/Lecture.jsx | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/common/app/routes/Hikes/components/Lecture.jsx b/common/app/routes/Hikes/components/Lecture.jsx index 1f37b854c5..cdc3b31ef6 100644 --- a/common/app/routes/Hikes/components/Lecture.jsx +++ b/common/app/routes/Hikes/components/Lecture.jsx @@ -40,8 +40,13 @@ export default contain( }, render() { - const { title, challengeSeed } = this.props.currentHike; - const [ id ] = challengeSeed || ['1']; + const { + title, + challengeSeed = ['1'], + description = [] + } = this.props.currentHike; + + const [ id ] = challengeSeed; return ( @@ -56,6 +61,15 @@ export default contain( onFinish= { this.handleFinish } videoId={ id } /> + + + +

+ { description.join('\n') } +

+
+ +
); }