Skip to content

Commit 62ec945

Browse files
authored
Merge pull request #5 from Krizzu/fixImport
Fix published package.
2 parents 1d92a52 + 6466d45 commit 62ec945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AsyncStorage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
'use strict';
1414

15-
const NativeModules = require('NativeModules');
15+
const {NativeModules} = require('react-native');
1616

1717
// Use RocksDB if available, then SQLite, then file storage.
1818
// Changed Name of SQLite DB, to not conflict with AsyncStorage from RN repo

0 commit comments

Comments
 (0)