We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa7540f commit 1fbc98dCopy full SHA for 1fbc98d
src/index.tsx
@@ -14,7 +14,7 @@ const withChaos = (
14
console.warn(
15
`You tried to use React Chaos in production. You probably didn't mean to do this. Chaos will not occur in production.`
16
);
17
- return () => <WrappedComponent />;
+ return WrappedComponent;
18
}
19
20
if (process.env.NODE_ENV === 'production' && runInProduction) {
0 commit comments