kun-web/src/store.ts
2022-03-02 04:52:36 +08:00

14 lines
343 B
TypeScript

import { configureStore, getDefaultMiddleware } from "@reduxjs/toolkit";
import userReducer from "./store/user";
import fileListReducer from "./store/fileList";
export default configureStore({
reducer: {
user: userReducer,
fileList: fileListReducer,
},
middleware: getDefaultMiddleware({
serializableCheck: false,
}),
});