mirror of
https://gitlab.com/ceda_ei/sonzai.git
synced 2025-07-12 01:36:55 +02:00
Moved Provider into App.js. Add AppContainer to store theme in redux store. Add reducers and actions for theme, SET_THEME.
16 lines
289 B
JavaScript
16 lines
289 B
JavaScript
import { combineReducers } from "redux";
|
|
|
|
import timetable from "./timetable";
|
|
import classes from "./classes";
|
|
import subjects from "./subjects";
|
|
import theme from "./theme";
|
|
|
|
const rootReducer = combineReducers({
|
|
timetable,
|
|
classes,
|
|
subjects,
|
|
theme,
|
|
});
|
|
|
|
export default rootReducer;
|