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:
Christoph Nakazawa 2018-12-02 23:49:12 -08:00 committed by Facebook Github Bot
parent 3443f75f9c
commit bf00561813
1 changed files with 1 additions and 1 deletions

View File

@ -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',