mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-17 11:17:45 -05:00
Merge branch 'master' into twitter
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// https://github.com/supasate/connected-react-router
|
||||
// configureStore.js
|
||||
|
||||
|
||||
import { createBrowserHistory } from 'history'
|
||||
import { applyMiddleware, compose, createStore } from 'redux'
|
||||
import { routerMiddleware } from 'connected-react-router'
|
||||
@@ -9,7 +10,8 @@ import { apiSlice } from '../features/api/apiSlice'
|
||||
|
||||
import thunk from 'redux-thunk';
|
||||
|
||||
export const history = createBrowserHistory()
|
||||
import { apiSlice } from '../features/api/apiSlice'
|
||||
|
||||
|
||||
export default function configureStore(preloadedState) {
|
||||
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
|
||||
|
||||
Reference in New Issue
Block a user