Created
October 29, 2018 00:42
-
-
Save tfiechowski/7319463dc93de91acca5c4b9545d1a06 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 { combineReducers, createStore, applyMiddleware } from 'redux'; | |
import thunk from 'redux-thunk'; | |
import photos from './modules/Photos/reducer'; | |
const rootReducer = combineReducers({ photos }); | |
export default createStore(rootReducer, applyMiddleware(thunk)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment