Skip to content

Commit

Permalink
Change the connectToStores displayName
Browse files Browse the repository at this point in the history
  • Loading branch information
goatslacker committed Aug 28, 2015
1 parent 193206f commit b2c0b31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/connectToStores.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ function connectToStores(Spec, Component = Spec) {
}

const StoreConnection = React.createClass({
displayName: `Stateful${Component.displayName || Component.name || 'Container'}`,

getInitialState() {
return Spec.getPropsFromStores(this.props, this.context)
},
Expand Down

0 comments on commit b2c0b31

Please sign in to comment.