connect-alt
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -229,3 +229,3 @@ 'use strict'; | ||
return _react2['default'].createElement(DecoratedComponent, _extends({ | ||
ref: 'decorated' | ||
ref: DecoratedComponent.prototype.setState ? 'decorated' : undefined | ||
}, this.props, customProps)); | ||
@@ -232,0 +232,0 @@ } |
{ | ||
"name": "connect-alt", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Decorator for passing Altjs store state through props", | ||
@@ -5,0 +5,0 @@ "main": "dist/main.js", |
@@ -163,3 +163,3 @@ import React, { PropTypes } from 'react'; | ||
<DecoratedComponent | ||
ref='decorated' | ||
ref={ DecoratedComponent.prototype.setState ? 'decorated' : undefined } | ||
{ ...this.props } | ||
@@ -166,0 +166,0 @@ { ...customProps } /> |
23724