|
|
@ -1,4 +1,4 @@
|
|
|
|
import { Iterable, fromJS } from 'immutable';
|
|
|
|
import { fromJS, isIndexed } from 'immutable';
|
|
|
|
|
|
|
|
|
|
|
|
import { hydrateCompose } from './compose';
|
|
|
|
import { hydrateCompose } from './compose';
|
|
|
|
import { importFetchedAccounts } from './importer';
|
|
|
|
import { importFetchedAccounts } from './importer';
|
|
|
@ -9,8 +9,7 @@ export const STORE_HYDRATE_LAZY = 'STORE_HYDRATE_LAZY';
|
|
|
|
|
|
|
|
|
|
|
|
const convertState = rawState =>
|
|
|
|
const convertState = rawState =>
|
|
|
|
fromJS(rawState, (k, v) =>
|
|
|
|
fromJS(rawState, (k, v) =>
|
|
|
|
Iterable.isIndexed(v) ? v.toList() : v.toMap());
|
|
|
|
isIndexed(v) ? v.toList() : v.toMap());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function hydrateStore(rawState) {
|
|
|
|
export function hydrateStore(rawState) {
|
|
|
|
return dispatch => {
|
|
|
|
return dispatch => {
|
|
|
|