2021-06-30 17:21:55 +03:00
|
|
|
import { configureStore } from '@reduxjs/toolkit';
|
|
|
|
import outstaffingReducer from '../redux/outstaffingSlice';
|
2021-08-09 15:10:12 +03:00
|
|
|
import loaderReducer from '../redux/loaderSlice';
|
2021-08-20 17:33:29 +03:00
|
|
|
import roleReducer from '../redux/roleSlice';
|
2021-12-07 09:58:19 +02:00
|
|
|
import reportReducer from '../redux/reportSlice';
|
2022-05-27 14:39:05 +03:00
|
|
|
import quizSlice from '../redux/quizSlice';
|
|
|
|
|
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,
|
2022-05-27 14:39:05 +03:00
|
|
|
quiz: quizSlice,
|
2021-06-30 17:21:55 +03:00
|
|
|
},
|
2022-05-27 14:39:05 +03:00
|
|
|
middleware: getDefaultMiddleware =>
|
|
|
|
getDefaultMiddleware({
|
|
|
|
serializableCheck: false,
|
|
|
|
}),
|
2021-06-30 17:21:55 +03:00
|
|
|
});
|