RN: Fix `requireNativeComponent` Check

Reviewed By: sahrens, TheSavior

Differential Revision: D7893594

fbshipit-source-id: 83f6995842e9480382c0b2abf6b6e72c6c107a49
This commit is contained in:
Tim Yung 2018-05-07 16:45:11 -07:00 committed by Facebook Github Bot
parent 1be2541ce2
commit 1c90a2b47b
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ function requireNativeComponent(
const viewConfig = UIManager[viewName];
invariant(
viewConfig != null && !viewConfig.NativeProps != null,
viewConfig != null && viewConfig.NativeProps != null,
'Native component for "%s" does not exist',
viewName,
);