Sync MapZones when changing campaigns

This commit is contained in:
Raffson
2024-05-18 21:11:28 +02:00
parent 0f9781ff30
commit cbd90a5e36
6 changed files with 64 additions and 11 deletions

View File

@@ -10,6 +10,7 @@ import supplyRoutesReducer from "../api/supplyRoutesSlice";
import tgosReducer from "../api/tgosSlice";
import threatZonesReducer from "../api/threatZonesSlice";
import unculledZonesReducer from "../api/unculledZonesSlice";
import mapZonesReducer from "../api/mapZonesSlice";
import {
Action,
PreloadedState,
@@ -31,6 +32,7 @@ const rootReducer = combineReducers({
threatZones: threatZonesReducer,
[baseApi.reducerPath]: baseApi.reducer,
unculledZones: unculledZonesReducer,
mapZones: mapZonesReducer,
});
export function setupStore(preloadedState?: PreloadedState<RootState>) {