guild_front/src/store/store.js

23 lines
705 B
JavaScript
Raw Normal View History

2023-03-22 21:48:06 +03:00
import { configureStore } from "@reduxjs/toolkit";
import outstaffingReducer from "../redux/outstaffingSlice";
import loaderReducer from "../redux/loaderSlice";
import roleReducer from "../redux/roleSlice";
import reportReducer from "../redux/reportSlice";
import quizSlice from "../redux/quizSlice";
import projectsTrackerSlice from "../redux/projectsTrackerSlice";
2021-06-30 17:21:55 +03:00
export const store = configureStore({
reducer: {
outstaffing: outstaffingReducer,
loader: loaderReducer,
2021-12-07 09:58:19 +02:00
role: roleReducer,
report: reportReducer,
2023-03-22 21:48:06 +03:00
tracker: projectsTrackerSlice,
2022-05-27 14:39:05 +03:00
quiz: quizSlice,
2021-06-30 17:21:55 +03:00
},
2023-03-22 21:48:06 +03:00
middleware: (getDefaultMiddleware) =>
getDefaultMiddleware({
serializableCheck: false,
}),
2021-06-30 17:21:55 +03:00
});