diff --git a/Libraries/Utilities/DeviceInfo.js b/Libraries/Utilities/DeviceInfo.js index d398f8083..819916b15 100644 --- a/Libraries/Utilities/DeviceInfo.js +++ b/Libraries/Utilities/DeviceInfo.js @@ -13,7 +13,7 @@ const DeviceInfo = require('NativeModules').DeviceInfo; -const invariant = require('invariant'); +const invariant = require('fbjs/lib/invariant'); invariant(DeviceInfo, 'DeviceInfo native module is not installed correctly');