mirror of
https://github.com/pawelmalak/flame.git
synced 2025-08-07 03:35:18 +02:00
19 lines
555 B
TypeScript
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>;
|