Fix title for panel
This fixes hover object Object issue
This commit is contained in:
@ -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>
|
||||||
|
Reference in New Issue
Block a user