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,
|
2021-08-09 15:10:12 +03:00
|
|
|
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
|
|
|
});
|