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
|
Rev | Line | |
---|
[d8b6c91] | 1 | import { configureStore } from '@reduxjs/toolkit';
|
---|
| 2 | import { combineReducers } from 'redux';
|
---|
| 3 | import authReducer from "./reducers/authReducer";
|
---|
[19398ad] | 4 | import jobAdReducer from "./reducers/jobAdvertisementReducer";
|
---|
[28b3398] | 5 | import applicationReducer from "./reducers/applicationReducer"
|
---|
[b248810] | 6 | import adminReducer from "./reducers/adminReducer"
|
---|
| 7 | import {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 |
|
---|
| 18 | export 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.