guild_front/src/store/store.js

22 lines
609 B
JavaScript
Raw Normal View History

2021-06-30 17:21:55 +03:00
import { configureStore } from '@reduxjs/toolkit';
import outstaffingReducer from '../redux/outstaffingSlice';
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,
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
});