Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 3677175

Browse files
committed
Export createStore function rather than store, remove mock user
1 parent ac13440 commit 3677175

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ import configureStore from './store/configureStore'
22

33
export * from './actions'
44

5-
export default configureStore()
5+
export default configureStore

src/reducers/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ const defaultState = {
88
}
99

1010
function user(state, action) {
11-
return {
12-
id: "23061405"
13-
}
11+
return state || {}
1412
}
1513

1614
// Updates an entity cache in response to any action with response.entities.

0 commit comments

Comments
 (0)