Commit 024f499d authored by Mehdi Achour's avatar Mehdi Achour

fix: use the correct path for web/

parent 2c262f58
......@@ -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 = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment