From 36771750f19b3e4a34d47a526756c363e89a60bb Mon Sep 17 00:00:00 2001 From: Andrew Selbie Date: Fri, 15 Jan 2016 09:47:38 -0800 Subject: [PATCH] Export createStore function rather than store, remove mock user --- src/index.js | 2 +- src/reducers/index.js | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/index.js b/src/index.js index b43f43b..26c67cc 100644 --- a/src/index.js +++ b/src/index.js @@ -2,4 +2,4 @@ import configureStore from './store/configureStore' export * from './actions' -export default configureStore() \ No newline at end of file +export default configureStore \ No newline at end of file diff --git a/src/reducers/index.js b/src/reducers/index.js index 4388d9b..63cd473 100644 --- a/src/reducers/index.js +++ b/src/reducers/index.js @@ -8,9 +8,7 @@ const defaultState = { } function user(state, action) { - return { - id: "23061405" - } + return state || {} } // Updates an entity cache in response to any action with response.entities.