Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb3bae4

Browse files
committed
Merge pull request reactjs#27 from dbunker/master
Remove unnecessary return
2 parents 5848e37 + 6c40ea6 commit bb3bae4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

public/scripts/example.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ var CommentForm = React.createClass({
109109
this.props.onCommentSubmit({author: author, text: text});
110110
this.refs.author.getDOMNode().value = '';
111111
this.refs.text.getDOMNode().value = '';
112-
return;
113112
},
114113
render: function() {
115114
return (

0 commit comments

Comments
 (0)