correctly order ASyncStorage

Reviewed By: sahrens

Differential Revision: D4585569

fbshipit-source-id: e0bebddea8a5810386e193eb6435f24ba3a5cbb0
This commit is contained in:
Aaron Chiu 2017-02-21 15:04:52 -08:00 committed by Facebook Github Bot
parent 72ddfb014a
commit f6bd8a38ec
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@
const NativeModules = require('NativeModules'); const NativeModules = require('NativeModules');
// Use RocksDB if available, then SQLite, then file storage. // Use RocksDB if available, then SQLite, then file storage.
const RCTAsyncStorage = NativeModules.AsyncSQLiteDBStorage || const RCTAsyncStorage = NativeModules.AsyncRocksDBStorage ||
NativeModules.AsyncRocksDBStorage || NativeModules.AsyncSQLiteDBStorage ||
NativeModules.AsyncLocalStorage; NativeModules.AsyncLocalStorage;
/** /**