Skip to content

Commit

Permalink
Merge pull request FormidableLabs#2 from willpe/master
Browse files Browse the repository at this point in the history
Fix a couple warnings
  • Loading branch information
colinmegill committed Feb 6, 2015
2 parents 81796c0 + af7e113 commit 8e7c4c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 005.1-setState.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
}
});

React.renderComponent(
React.render(
<Recipe />,
document.body
);
Expand Down
2 changes: 1 addition & 1 deletion 006-flux.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
getInitialState: function(){
return getRecipes();
},
onChange: function() {
stateDidChange: function() {
this.setState(getRecipes());
},
render: function() {
Expand Down

0 comments on commit 8e7c4c8

Please sign in to comment.