Skip to content

Commit

Permalink
Export createStore function rather than store, remove mock user
Browse files Browse the repository at this point in the history
  • Loading branch information
aselbie committed Jan 15, 2016
1 parent ac13440 commit 3677175
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ import configureStore from './store/configureStore'

export * from './actions'

export default configureStore()
export default configureStore
4 changes: 1 addition & 3 deletions src/reducers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3677175

Please sign in to comment.