Use `invariant` instead of `fbjs/lib/invariant`
Summary: This is one more step to remove `fbjs` from `react-native-github`. This changes both the internal and external code to use `invariant` from zertosh instead of the copy in fbjs. Reviewed By: yungsters Differential Revision: D13195941 fbshipit-source-id: 73564ca1715110e7da9c7ef56dc57374d61377e0
This commit is contained in:
parent
3443f75f9c
commit
bf00561813
|
@ -14,7 +14,7 @@ const {checkPropTypes} = PropTypes;
|
|||
const RCTCameraRollManager = require('NativeModules').CameraRollManager;
|
||||
|
||||
const deprecatedCreateStrictShapeTypeChecker = require('deprecatedCreateStrictShapeTypeChecker');
|
||||
const invariant = require('fbjs/lib/invariant');
|
||||
const invariant = require('invariant');
|
||||
|
||||
const GROUP_TYPES_OPTIONS = {
|
||||
Album: 'Album',
|
||||
|
|
Loading…
Reference in New Issue