mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-03-14 19:52:31 +00:00
14 lines
327 B
JavaScript
14 lines
327 B
JavaScript
import {applyMiddleware, compose, createStore} 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)
|
|
)
|
|
)
|