Skip to content

Commit

Permalink
fix: use the correct path for web/
Browse files Browse the repository at this point in the history
  • Loading branch information
machour committed Feb 26, 2018
1 parent 2c262f5 commit 024f499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deviceinfo.js
Expand Up @@ -6,7 +6,7 @@ import { Platform, NativeModules } from 'react-native';
var RNDeviceInfo = NativeModules.RNDeviceInfo;

if (!RNDeviceInfo && Platform.OS === 'web') {
RNDeviceInfo = require('./web/RNDeviceInfoWeb');
RNDeviceInfo = require('./web');
}

module.exports = {
Expand Down

0 comments on commit 024f499

Please sign in to comment.