Update rootReducer

This commit is contained in:
Matthew Stratford 2021-05-31 20:57:11 +01:00
parent 904e74184b
commit 5eced5e4e6

View file

@ -6,15 +6,23 @@ import autoMergeLevel2 from "redux-persist/lib/stateReconciler/autoMergeLevel2";
import ShowplanReducer from "./showplanner/state"; import ShowplanReducer from "./showplanner/state";
import MixerReducer from "./mixer/state"; import MixerReducer from "./mixer/state";
//import sessionReducer from "./session/state"; import BroadcastReducer from "./broadcast/state";
import sessionReducer from "./bapiclesession/state"; import sessionReducer from "./session/state";
import OptionsMenuReducer from "./optionsMenu/state";
import SettingsState from "./optionsMenu/settingsState";
import NavbarReducer from "./navbar/state"; import NavbarReducer from "./navbar/state";
import BAPSSessionReducer from "./bapsiclesession/state";
const rootReducer = combineReducers({ const rootReducer = combineReducers({
showplan: ShowplanReducer, showplan: ShowplanReducer,
mixer: MixerReducer, mixer: MixerReducer,
broadcast: BroadcastReducer,
session: sessionReducer, session: sessionReducer,
navbar: NavbarReducer, navbar: NavbarReducer,
optionsMenu: OptionsMenuReducer,
settings: SettingsState,
bapsSession: BAPSSessionReducer,
}); });
export type RootState = ReturnType<typeof rootReducer>; export type RootState = ReturnType<typeof rootReducer>;