Created
June 3, 2018 11:12
-
-
Save santosh-btc/7089f2843ec5dca39f0ca86b54a4ff08 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createStore, combineReducers } from 'redux'; | |
import { reducer as reduxFormReducer } from 'redux-form'; | |
const reducer = combineReducers({ | |
form: reduxFormReducer, | |
}); | |
const store = (window.devToolsExtension | |
? window.devToolsExtension()(createStore) | |
: createStore)(reducer); | |
export default store; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment