Skip to content

Commit 6466d45

Browse files
author
Krzysztof Borowy
committed
fix: import module
1 parent 1d92a52 commit 6466d45

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)