Completely updated React, fixed #11, (hopefully)
This commit is contained in:
2
goTorrentWebUI/node_modules/react-redux/lib/components/connectAdvanced.js
generated
vendored
2
goTorrentWebUI/node_modules/react-redux/lib/components/connectAdvanced.js
generated
vendored
@@ -98,7 +98,7 @@ selectorFactory) {
|
||||
var childContextTypes = (_childContextTypes = {}, _childContextTypes[subscriptionKey] = _PropTypes.subscriptionShape, _childContextTypes);
|
||||
|
||||
return function wrapWithConnect(WrappedComponent) {
|
||||
(0, _invariant2.default)(typeof WrappedComponent == 'function', 'You must pass a component to the function returned by ' + ('connect. Instead received ' + JSON.stringify(WrappedComponent)));
|
||||
(0, _invariant2.default)(typeof WrappedComponent == 'function', 'You must pass a component to the function returned by ' + (methodName + '. Instead received ' + JSON.stringify(WrappedComponent)));
|
||||
|
||||
var wrappedComponentName = WrappedComponent.displayName || WrappedComponent.name || 'Component';
|
||||
|
||||
|
Reference in New Issue
Block a user