mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-04-10 13:45:53 +00:00
12 lines
319 B
JavaScript
12 lines
319 B
JavaScript
import { applyMiddleware, compose, createStore } from 'redux'
|
|
import { thunk } from 'redux-thunk'
|
|
import rootReducer from './redux/reducers'
|
|
|
|
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose
|
|
|
|
export const store = createStore(
|
|
rootReducer,
|
|
composeEnhancers(
|
|
applyMiddleware(thunk)
|
|
)
|
|
) |