Skip to content

Commit 1c90a2b

Browse files
yungstersfacebook-github-bot
authored andcommittedMay 7, 2018
RN: Fix requireNativeComponent Check
Reviewed By: sahrens, TheSavior Differential Revision: D7893594 fbshipit-source-id: 83f6995842e9480382c0b2abf6b6e72c6c107a49
1 parent 1be2541 commit 1c90a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Libraries/ReactNative/requireNativeComponent.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function requireNativeComponent(
101101
const viewConfig = UIManager[viewName];
102102

103103
invariant(
104-
viewConfig != null && !viewConfig.NativeProps != null,
104+
viewConfig != null && viewConfig.NativeProps != null,
105105
'Native component for "%s" does not exist',
106106
viewName,
107107
);

0 commit comments

Comments
 (0)
Please sign in to comment.