mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 23:58:06 +01:00
13 lines
349 B
JavaScript
13 lines
349 B
JavaScript
import { applyMiddleware, createStore } from 'redux'
|
|
import thunkMiddleware from 'redux-thunk'
|
|
|
|
const rootReducer = function () {}
|
|
|
|
export default configureStore
|
|
|
|
const createStoreWithMiddleware = applyMiddleware(thunkMiddleware)(createStore)
|
|
|
|
function configureStore (initialState) {
|
|
return createStoreWithMiddleware(rootReducer, initialState)
|
|
}
|