We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e170b2c commit 76dd7faCopy full SHA for 76dd7fa
src/components/connectAdvanced.js
@@ -90,7 +90,7 @@ export default function connectAdvanced(
90
invariant(
91
typeof WrappedComponent == 'function',
92
`You must pass a component to the function returned by ` +
93
- `connect. Instead received ${JSON.stringify(WrappedComponent)}`
+ `${methodName}. Instead received ${JSON.stringify(WrappedComponent)}`
94
)
95
96
const wrappedComponentName = WrappedComponent.displayName
0 commit comments