guild_front/src/store/store.js

24 lines
706 B
JavaScript
Raw Normal View History

2023-03-22 21:48:06 +03:00
import { configureStore } from "@reduxjs/toolkit";
2023-05-31 08:36:15 +03:00
2023-03-22 21:48:06 +03:00
import loaderReducer from "../redux/loaderSlice";
2023-05-31 08:36:15 +03:00
import outstaffingReducer from "../redux/outstaffingSlice";
2023-03-22 21:48:06 +03:00
import projectsTrackerSlice from "../redux/projectsTrackerSlice";
2023-05-31 08:36:15 +03:00
import quizSlice from "../redux/quizSlice";
import reportReducer from "../redux/reportSlice";
import roleReducer from "../redux/roleSlice";
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
});