WebStudio/src/rootReducer.ts

22 lines
650 B
TypeScript
Raw Normal View History

2019-11-26 10:01:26 +00:00
import { combineReducers } from "@reduxjs/toolkit";
import ShowplanReducer from "./showplanner/state";
2020-03-19 17:49:55 +00:00
import MixerReducer from "./mixer/state";
import BroadcastReducer from "./broadcast/state";
import sessionReducer from "./session/state";
2020-04-03 10:41:34 +00:00
import NavbarReducer from "./navbar/state";
import OptionsMenuReducer from "./optionsMenu/state";
2019-11-26 10:01:26 +00:00
const rootReducer = combineReducers({
2020-03-16 23:34:19 +00:00
showplan: ShowplanReducer,
mixer: MixerReducer,
broadcast: BroadcastReducer,
2020-04-03 10:41:34 +00:00
session: sessionReducer,
navbar: NavbarReducer,
optionsMenu: OptionsMenuReducer
2019-11-26 10:01:26 +00:00
});
export type RootState = ReturnType<typeof rootReducer>;
export default rootReducer;