Change require('invariant') to require('fbjs/lib/invariant')
Summary: FIX #10400 Closes https://github.com/facebook/react-native/pull/10409 Differential Revision: D4027850 fbshipit-source-id: c69e2ce892d119847902db3d6689ec237df35332
This commit is contained in:
parent
e58d17e68b
commit
dbfd046145
|
@ -35,7 +35,7 @@ const {
|
|||
TouchableOpacity
|
||||
} = ReactNative;
|
||||
|
||||
const invariant = require('invariant');
|
||||
const invariant = require('fbjs/lib/invariant');
|
||||
|
||||
const CameraRollView = require('./CameraRollView');
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ const TouchableNativeFeedback = require('TouchableNativeFeedback');
|
|||
const TouchableOpacity = require('TouchableOpacity');
|
||||
const View = require('View');
|
||||
|
||||
const invariant = require('invariant');
|
||||
const invariant = require('fbjs/lib/invariant');
|
||||
|
||||
/**
|
||||
* A basic button component that should render nicely on any platform. Supports
|
||||
|
|
Loading…
Reference in New Issue