Update rootReducer
This commit is contained in:
parent
904e74184b
commit
5eced5e4e6
1 changed files with 10 additions and 2 deletions
|
@ -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>;
|
||||||
|
|
Loading…
Reference in a new issue