You've already forked DataMate
feat: fix the problem in the Operator Market frontend pages
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
import { configureStore } from "@reduxjs/toolkit";
|
||||
import authSlice from "./slices/authSlice";
|
||||
import settingsSlice from "./slices/settingsSlice";
|
||||
|
||||
// 创建 Store
|
||||
export const store = configureStore({
|
||||
reducer: {
|
||||
auth: authSlice,
|
||||
settings: settingsSlice,
|
||||
},
|
||||
});
|
||||
|
||||
// 导出类型
|
||||
export type RootState = ReturnType<typeof store.getState>;
|
||||
import { configureStore } from "@reduxjs/toolkit";
|
||||
import authSlice from "./slices/authSlice";
|
||||
import settingsSlice from "./slices/settingsSlice";
|
||||
|
||||
// 创建 Store
|
||||
export const store = configureStore({
|
||||
reducer: {
|
||||
auth: authSlice,
|
||||
settings: settingsSlice,
|
||||
},
|
||||
});
|
||||
|
||||
// 导出类型
|
||||
export type RootState = ReturnType<typeof store.getState>;
|
||||
export type AppDispatch = typeof store.dispatch;
|
||||
Reference in New Issue
Block a user