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 a5aea01 commit 154ef48Copy full SHA for 154ef48
src/components/connectAdvanced.js
@@ -67,7 +67,7 @@ export default function connectAdvanced(
67
invariant(
68
typeof WrappedComponent == 'function',
69
`You must pass a component to the function returned by ` +
70
- `connect. Instead received ${WrappedComponent}`
+ `connect. Instead received ${JSON.stringify(WrappedComponent)}`
71
)
72
73
const wrappedComponentName = WrappedComponent.displayName
0 commit comments