mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-03-14 11:42:32 +00:00
13 lines
336 B
JavaScript
13 lines
336 B
JavaScript
import {applyMiddleware, compose, createStore} from 'redux'
|
|
import { thunk } from 'redux-thunk'
|
|
|
|
import rootReducer from './redux/reducers.js'
|
|
|
|
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose
|
|
|
|
export const store = createStore(
|
|
rootReducer,
|
|
composeEnhancers(
|
|
applyMiddleware(thunk)
|
|
)
|
|
) |