forked from Qortal/qortal-ui
13 lines
328 B
JavaScript
13 lines
328 B
JavaScript
|
import { createStore, compose, applyMiddleware } from 'redux'
|
||
|
import thunk from 'redux-thunk'
|
||
|
|
||
|
import reducers from './redux/reducers.js'
|
||
|
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose
|
||
|
|
||
|
export const store = createStore(
|
||
|
reducers,
|
||
|
composeEnhancers(
|
||
|
applyMiddleware(thunk)
|
||
|
)
|
||
|
)
|