source: jobvista-frontend/src/redux/store.js@ b248810

main
Last change on this file since b248810 was b248810, checked in by 223021 <daniel.ilievski.2@…>, 4 months ago

Added no access page for new recruiters and admin panel for granting access

  • Property mode set to 100644
File size: 760 bytes
RevLine 
[d8b6c91]1import { configureStore } from '@reduxjs/toolkit';
2import { combineReducers } from 'redux';
3import authReducer from "./reducers/authReducer";
[19398ad]4import jobAdReducer from "./reducers/jobAdvertisementReducer";
[28b3398]5import applicationReducer from "./reducers/applicationReducer"
[b248810]6import adminReducer from "./reducers/adminReducer"
7import {AdminActions} from "./actions/adminActions";
[d8b6c91]8
9// const rootReducer = combineReducers({
10// auth: AuthReducer
11// });
12//
13// export const store = configureStore({
14// reducer: rootReducer,
15// //middleware: thunk
16// });
17
18export const store = configureStore({
19 reducer: {
[19398ad]20 auth: authReducer,
[28b3398]21 jobAd: jobAdReducer,
[b248810]22 appl: applicationReducer,
23 admin: adminReducer
[d8b6c91]24 },
25});
26
27//export default store;
Note: See TracBrowser for help on using the repository browser.