From 6466d45388c08734f8bbc4b23c75d454fd3c5550 Mon Sep 17 00:00:00 2001 From: Krzysztof Borowy Date: Tue, 12 Feb 2019 17:43:22 +0100 Subject: [PATCH] fix: import module --- lib/AsyncStorage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/AsyncStorage.js b/lib/AsyncStorage.js index cef6a0dc..8c8ef592 100644 --- a/lib/AsyncStorage.js +++ b/lib/AsyncStorage.js @@ -12,7 +12,7 @@ 'use strict'; -const NativeModules = require('NativeModules'); +const {NativeModules} = require('react-native'); // Use RocksDB if available, then SQLite, then file storage. // Changed Name of SQLite DB, to not conflict with AsyncStorage from RN repo