mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-16 18:57:47 -05:00
loading Groups
This commit is contained in:
@@ -5,6 +5,8 @@ import { createBrowserHistory } from 'history'
|
||||
import { applyMiddleware, compose, createStore } from 'redux'
|
||||
import { routerMiddleware } from 'connected-react-router'
|
||||
import createRootReducer from './reducers'
|
||||
import { apiSlice } from '../features/api/apiSlice'
|
||||
|
||||
import thunk from 'redux-thunk';
|
||||
|
||||
export const history = createBrowserHistory()
|
||||
@@ -18,6 +20,7 @@ export default function configureStore(preloadedState) {
|
||||
applyMiddleware(
|
||||
routerMiddleware(history), // for dispatching history actions
|
||||
thunk,
|
||||
apiSlice.middleware
|
||||
// ... other middlewares ...
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user