Skip to content
This repository was archived by the owner on May 21, 2020. It is now read-only.

Commit 87b59b8

Browse files
committed
always require reducers from the user
1 parent 883dcff commit 87b59b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/configureStore/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { applyMiddleware, combineReducers, compose, createStore } from 'redux'
33
import promiseMiddleware from 'redux-promise-middleware'
44

5-
export default (reducers = {}) => (initalState = {}) => {
5+
export default (reducers) => (initalState = {}) => {
66
const rootReducer = combineReducers(reducers)
77
const middleware = [promiseMiddleware()]
88
const store = compose(

0 commit comments

Comments
 (0)