Fix title for panel

This fixes hover object Object issue
This commit is contained in:
Berkeley Martinez
2016-01-06 12:19:29 -08:00
parent f8aa0ec3e5
commit cb101a631f

View File

@ -29,14 +29,15 @@ export default React.createClass({
showQuestions showQuestions
} = this.props; } = this.props;
const videoTitle = <h2>{ title }</h2>; const videoTitle = <h4>{ title }</h4>;
return ( return (
<Col xs={ 12 }> <Col xs={ 12 }>
<Row> <Row>
<Panel <Panel
className={ 'text-center' } className={ 'text-center' }
title={ videoTitle }> header={ videoTitle }
title={ title }>
{ this.renderBody(showQuestions) } { this.renderBody(showQuestions) }
</Panel> </Panel>
</Row> </Row>