We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ebcc99 commit 0983a0fCopy full SHA for 0983a0f
components/_util/proxyComponent.jsx
@@ -45,7 +45,7 @@ export default function wrapWithConnect (WrappedComponent) {
45
}
46
Object.keys(methods).map(m => {
47
ProxyWrappedComponent.methods[m] = function () {
48
- this.getProxyWrappedInstance()[m](...arguments)
+ return this.getProxyWrappedInstance()[m](...arguments)
49
50
})
51
return ProxyWrappedComponent
0 commit comments