Skip to content

Commit cb80904

Browse files
committed
Merge pull request #72 from udfalkso/console-warn-instead-of-error-for-function-wrap
Improve handling of React Native version warnings
2 parents 499016e + b820c3b commit cb80904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/createProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import createStoreShape from '../utils/createStoreShape';
33
function isUsingOwnerContext(React) {
44
const { version } = React;
55
if (typeof version !== 'string') {
6-
return false;
6+
return true;
77
}
88

99
const sections = version.split('.');

0 commit comments

Comments
 (0)