Skip to content

Commit

Permalink
fix AltContainer using ES6 concise function
Browse files Browse the repository at this point in the history
  • Loading branch information
aponad committed Apr 2, 2015
1 parent 4db7a56 commit accea51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/AltContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ var AltContainer = React.createClass({
}
},

addSubscription(store) {
addSubscription: function(store) {
if (typeof store === 'object') {
Subscribe.add(this, store, this.altSetState)
}
Expand Down

0 comments on commit accea51

Please sign in to comment.