Fix the last imports of `'invariant'`
Summary:This changes the last two imports of `'invariant'` that I could find to `'fbjs/lib/invariant'`. Closes https://github.com/facebook/react-native/pull/6248 Differential Revision: D3000440 fb-gh-sync-id: 15ebd08bb749d1d82b12902dd3dec00914fc1ed5 shipit-source-id: 15ebd08bb749d1d82b12902dd3dec00914fc1ed5
This commit is contained in:
parent
f6b0c13fd6
commit
eb531943aa
|
@ -8,7 +8,7 @@
|
|||
|
||||
const PanResponder = require('PanResponder');
|
||||
|
||||
const invariant = require('invariant');
|
||||
const invariant = require('fbjs/lib/invariant');
|
||||
|
||||
const EmptyPanHandlers = {
|
||||
onMoveShouldSetPanResponder: null,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
*/
|
||||
'use strict';
|
||||
|
||||
const invariant = require('invariant');
|
||||
const invariant = require('fbjs/lib/invariant');
|
||||
|
||||
export type NavigationState = {
|
||||
key: string;
|
||||
|
|
Loading…
Reference in New Issue