Update GBMarkdownPlayer.js

This commit is contained in:
Rodrigo Rodriguez 2018-12-06 11:01:31 -02:00 committed by GitHub
parent bd77b1c3ac
commit 415bcf3097
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,16 +119,16 @@ class GBMarkdownPlayer extends Component {
}
if (this.state.prevId) {
prev = <a style={{ color: 'blue', cursor: 'pointer' }} href={"#"}
prev = <button style={{ color: 'blue', cursor: 'pointer' }}
onClick={() => this.sendAnswer(this.state.prevId)}>
Back
</a>
</button>
}
if (this.state.nextId) {
next = <a style={{ color: 'blue', cursor: 'pointer' }} href={"#"}
next = <button style={{ color: 'blue', cursor: 'pointer' }}
onClick={() => this.sendAnswer(this.state.nextId)}>
Next
</a>
</button>
}
return (