diff --git a/src/integrations/react.js b/src/integrations/react.js index b499a00..1aa981c 100644 --- a/src/integrations/react.js +++ b/src/integrations/react.js @@ -49,7 +49,7 @@ export function connect(mapStateToProps, actions) { this.render = () => createElement(Child, assign(assign(assign({}, boundActions), this.props), state)); } Wrapper.contextTypes = CONTEXT_TYPES; - return (Wrapper.prototype = Object.create(Component)).constructor = Wrapper; + return (Wrapper.prototype = Object.create(Component.prototype)).constructor = Wrapper; }; }