mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Remove redux-logger middleware.
https://github.com/reduxjs/redux-devtools does the same thing better without spamming the log.
This commit is contained in:
parent
b6457ae434
commit
05fbdae54c
@ -5,7 +5,6 @@ import frontLinesReducer from "../api/frontLinesSlice";
|
|||||||
import supplyRoutesReducer from "../api/supplyRoutesSlice";
|
import supplyRoutesReducer from "../api/supplyRoutesSlice";
|
||||||
import tgosReducer from "../api/tgosSlice";
|
import tgosReducer from "../api/tgosSlice";
|
||||||
import { Action, ThunkAction, configureStore } from "@reduxjs/toolkit";
|
import { Action, ThunkAction, configureStore } from "@reduxjs/toolkit";
|
||||||
import logger from "redux-logger";
|
|
||||||
|
|
||||||
export const store = configureStore({
|
export const store = configureStore({
|
||||||
reducer: {
|
reducer: {
|
||||||
@ -16,8 +15,6 @@ export const store = configureStore({
|
|||||||
supplyRoutes: supplyRoutesReducer,
|
supplyRoutes: supplyRoutesReducer,
|
||||||
tgos: tgosReducer,
|
tgos: tgosReducer,
|
||||||
},
|
},
|
||||||
// The logger middleware must be last or it won't log actions.
|
|
||||||
middleware: [logger],
|
|
||||||
});
|
});
|
||||||
|
|
||||||
export type AppDispatch = typeof store.dispatch;
|
export type AppDispatch = typeof store.dispatch;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user