mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-13 17:27:37 -05:00
Probably should normalize the System query
This commit is contained in:
@@ -7,14 +7,16 @@ import { createRouterMiddleware } from '@lagunovsky/redux-react-router'
|
||||
import createRootReducer from './reducers'
|
||||
import thunk from 'redux-thunk';
|
||||
import { apiSlice } from '../features/api/apiSlice'
|
||||
import { composeWithDevTools } from 'redux-devtools-extension'
|
||||
|
||||
//const composedEnhancers = composeWithDevTools(...enhancers)
|
||||
export const history = createBrowserHistory()
|
||||
|
||||
export default function configureStore(preloadedState) {
|
||||
const store = createStore(
|
||||
createRootReducer(history), // root reducer with router state
|
||||
preloadedState,
|
||||
compose(
|
||||
composeWithDevTools(
|
||||
applyMiddleware(
|
||||
createRouterMiddleware(history), // for dispatching history actions
|
||||
thunk,
|
||||
|
||||
Reference in New Issue
Block a user