1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-07 03:35:18 +02:00
flame/client/src/store/reducers/index.ts
2021-11-10 13:53:28 +01:00

19 lines
555 B
TypeScript

import { combineReducers } from 'redux';
import { themeReducer } from './theme';
import { configReducer } from './config';
import { notificationReducer } from './notification';
import { appsReducer } from './app';
import { bookmarksReducer } from './bookmark';
import { authReducer } from './auth';
export const reducers = combineReducers({
theme: themeReducer,
config: configReducer,
notification: notificationReducer,
apps: appsReducer,
bookmarks: bookmarksReducer,
auth: authReducer,
});
export type State = ReturnType<typeof reducers>;