diff --git a/src/index.js b/src/index.js index 9aa90e2..a7d4f22 100644 --- a/src/index.js +++ b/src/index.js @@ -248,8 +248,8 @@ function isStatelessComponent(c) { function wrapStatelessComponent(WrappedComponent) { return createClass({ displayName: WrappedComponent.displayName || WrappedComponent.name, - render(props, state, context) { - return WrappedComponent(props, context); + render() { + return WrappedComponent(this.props, this.context); } }); }