2021-05-08 18:49:08 +02:00
|
|
|
import { combineReducers } from 'redux';
|
|
|
|
|
2021-05-11 16:44:05 +02:00
|
|
|
import { GlobalState } from '../../interfaces/GlobalState';
|
|
|
|
|
2021-05-08 18:49:08 +02:00
|
|
|
import themeReducer from './theme';
|
2021-05-10 19:02:16 +02:00
|
|
|
import appReducer from './app';
|
2021-05-23 18:38:39 +02:00
|
|
|
import bookmarkReducer from './bookmark';
|
2021-05-24 14:54:46 +02:00
|
|
|
import notificationReducer from './notification';
|
2021-05-08 18:49:08 +02:00
|
|
|
|
2021-05-11 16:44:05 +02:00
|
|
|
const rootReducer = combineReducers<GlobalState>({
|
2021-05-10 19:02:16 +02:00
|
|
|
theme: themeReducer,
|
2021-05-23 18:38:39 +02:00
|
|
|
app: appReducer,
|
2021-05-24 14:54:46 +02:00
|
|
|
bookmark: bookmarkReducer,
|
|
|
|
notification: notificationReducer
|
2021-05-08 18:49:08 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
export default rootReducer;
|