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.
2 parents a5aea01 + 154ef48 commit 79bf2f3Copy full SHA for 79bf2f3
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