@samitouri / QOS-React-2 / commits / 8fc4f23cdb

Removing unnecessary returns

Héliton Nordt committed Feb 2, 2015 at 17:20 UTC 8fc4f23cdb70682e040986f72d99071cd01cc636
1 file changed -2
docs/docs/tutorial.md
-2
@@ -495,7 +495,6 @@ var CommentForm = React.createClass({
495 // TODO: send request to the server
496 this.refs.author.getDOMNode().value = '';
497 this.refs.text.getDOMNode().value = '';
498 - return;
498 },
499 render: function() {
500 return (
@@ -577,7 +576,6 @@ var CommentForm = React.createClass({
576 this.props.onCommentSubmit({author: author, text: text});
577 this.refs.author.getDOMNode().value = '';
578 this.refs.text.getDOMNode().value = '';
580 - return;
579 },
580 render: function() {
581 return (