Merge branch 'master' into twitter

This commit is contained in:
Luke Berndt
2023-01-17 20:53:51 -05:00
committed by GitHub
4 changed files with 15 additions and 4 deletions

View File

@@ -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;