|
|
@@ -17,7 +17,7 @@ class Clase extends Component {
|
|
|
renderView() {
|
|
|
const { titulo, profesor, texto, comentarios, respuestas } = this.props.clase;
|
|
|
if ( this.state.page === 'Teoria' )
|
|
|
- return <Teoria titulo={titulo} profesor={profesor} texto={texto} />;
|
|
|
+ return <Teoria titulo={titulo} profesor={profesor} texto={texto} style={{flex:1}} />;
|
|
|
|
|
|
if ( this.state.page === 'Comentarios' )
|
|
|
return <Comentarios style={{flex:1}} comentarios={comentarios} respuestas={respuestas} />;
|