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
351 B
TypeScript
14 lines
351 B
TypeScript
import { combineReducers } from '@reduxjs/toolkit';
|
|
import { userReducer } from './user';
|
|
import { chatReducer } from './chat';
|
|
|
|
export const appReducer = combineReducers({
|
|
user: userReducer,
|
|
chat: chatReducer,
|
|
});
|
|
|
|
export type AppState = ReturnType<typeof appReducer>;
|
|
|
|
export { userActions } from './user';
|
|
export { chatActions } from './chat';
|