mirror of https://github.com/msgbyte/tailchat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
357 B
TypeScript
14 lines
357 B
TypeScript
import { combineReducers } from '@reduxjs/toolkit';
|
|
import { cacheReducer } from './cache';
|
|
import { userReducer } from './user';
|
|
|
|
export const appReducer = combineReducers({
|
|
cache: cacheReducer,
|
|
user: userReducer,
|
|
});
|
|
|
|
export type AppState = ReturnType<typeof appReducer>;
|
|
|
|
export { cacheActions } from './cache';
|
|
export { userActions } from './user';
|