Created
April 14, 2019 10:21
-
-
Save nidhinkumar06/77463fa7e443159bf18b48dc07aad6b0 to your computer and use it in GitHub Desktop.
Reduxtoken-auth
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, applyMiddleware } from 'redux'; | |
import thunk from 'redux-thunk'; | |
import rootReducer from '../reducers'; | |
const middleware = applyMiddleware(thunk); | |
const store = createStore(rootReducer, middleware); | |
export {store}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment