Store objects to IndexedDB (#6826)
This commit is contained in:
committed by
Eugen Rochko
parent
28384c1771
commit
fe398a098e
@ -1,5 +1,6 @@
|
||||
import { Iterable, fromJS } from 'immutable';
|
||||
import { hydrateCompose } from './compose';
|
||||
import { importFetchedAccounts } from './importer';
|
||||
|
||||
export const STORE_HYDRATE = 'STORE_HYDRATE';
|
||||
export const STORE_HYDRATE_LAZY = 'STORE_HYDRATE_LAZY';
|
||||
@ -18,5 +19,6 @@ export function hydrateStore(rawState) {
|
||||
});
|
||||
|
||||
dispatch(hydrateCompose());
|
||||
dispatch(importFetchedAccounts(Object.values(rawState.accounts)));
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user