We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f185fe8 + 72c4e7a commit 3eacbb2Copy full SHA for 3eacbb2
public/scripts/example.js
@@ -43,8 +43,8 @@ var CommentBox = React.createClass({
43
comments.push(comment);
44
this.setState({data: comments}, function() {
45
// `setState` accepts a callback. To avoid (improbable) race condition,
46
- // `we'll send the ajax request right after we optimistically set the new
47
- // `state.
+ // we'll send the ajax request right after we optimistically set the new
+ // state.
48
$.ajax({
49
url: this.props.url,
50
dataType: 'json',
0 commit comments