| changeset 1 | 431977d7c9a6 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/store/configure-store.js Mon May 22 14:34:35 2017 +0200 @@ -0,0 +1,11 @@ +import rootReducer from '../reducers'; +import {createStore} from 'redux'; +import Immutable from 'immutable'; + +const storeInitialState = Immutable.Map({ + notes: Immutable.List([]) +}); + +export default (initialState = storeInitialState) => { + return createStore(rootReducer, initialState); +};