forked from Qortal/qortal-ui
Fix redux-thunk
This commit is contained in:
parent
5e075eaf1e
commit
7d8d062cf3
@ -1,12 +1,12 @@
|
||||
import {applyMiddleware, compose, createStore} from 'redux'
|
||||
import thunk from 'redux-thunk'
|
||||
import { thunk } from 'redux-thunk'
|
||||
|
||||
import reducers from './redux/reducers.js'
|
||||
import rootReducer from './redux/reducers.js'
|
||||
|
||||
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose
|
||||
|
||||
export const store = createStore(
|
||||
reducers,
|
||||
rootReducer,
|
||||
composeEnhancers(
|
||||
applyMiddleware(thunk)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user