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:
leeight 2016-10-16 02:12:20 -07:00 committed by Facebook Github Bot
parent e58d17e68b
commit dbfd046145
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ const {
TouchableOpacity
} = ReactNative;
const invariant = require('invariant');
const invariant = require('fbjs/lib/invariant');
const CameraRollView = require('./CameraRollView');

View File

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