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.
1 parent f185fe8 commit 72c4e7aCopy full SHA for 72c4e7a
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