Skip to content

Commit

Permalink
Change require('invariant') to require('fbjs/lib/invariant')
Browse files Browse the repository at this point in the history
Summary:
FIX facebook#10400
Closes facebook#10409

Differential Revision: D4027850

fbshipit-source-id: c69e2ce892d119847902db3d6689ec237df35332
  • Loading branch information
leeight authored and Facebook Github Bot committed Oct 16, 2016
1 parent e58d17e commit dbfd046
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Examples/UIExplorer/js/CameraRollExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const {
TouchableOpacity
} = ReactNative;

const invariant = require('invariant');
const invariant = require('fbjs/lib/invariant');

const CameraRollView = require('./CameraRollView');

Expand Down
2 changes: 1 addition & 1 deletion Libraries/Components/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dbfd046

Please sign in to comment.