Skip to content

Commit 4cbc278

Browse files
authored
Update : ASP.NET Core tutorial typo (reactjs#1113)
1 parent 40955ac commit 4cbc278

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: site/jekyll/tutorials/aspnetcore.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -912,8 +912,8 @@ class CommentBox extends React.Component {
912912
}
913913
handleCommentSubmit(comment) {
914914
const data = new FormData();
915-
data.append('author', comment.author);
916-
data.append('text', comment.text);
915+
data.append('Author', comment.author);
916+
data.append('Text', comment.text);
917917
918918
const xhr = new XMLHttpRequest();
919919
xhr.open('post', this.props.submitUrl, true);

0 commit comments

Comments
 (0)