From 0f27514cefae801863f29b2d45ec429127205949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9liton=20Nordt?= Date: Mon, 2 Feb 2015 17:20:38 -0200 Subject: [PATCH] Removing unnecessary returns --- docs/tutorial.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/tutorial.md b/docs/tutorial.md index c46ecb71..169dbd37 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -495,7 +495,6 @@ var CommentForm = React.createClass({ // TODO: send request to the server this.refs.author.getDOMNode().value = ''; this.refs.text.getDOMNode().value = ''; - return; }, render: function() { return ( @@ -577,7 +576,6 @@ var CommentForm = React.createClass({ this.props.onCommentSubmit({author: author, text: text}); this.refs.author.getDOMNode().value = ''; this.refs.text.getDOMNode().value = ''; - return; }, render: function() { return (