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

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

Added an edit profile page for both job seekers and recruiters, where they can upload profile pictures/company logos and edit their profile data. Added profile page specifically for recruiters. Refactored existing code.

  • Property mode set to 100644
File size: 845 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";
[befb988]8import ImagesReducer from "./reducers/imagesReducer";
[d8b6c91]9
10// const rootReducer = combineReducers({
11// auth: AuthReducer
12// });
13//
14// export const store = configureStore({
15// reducer: rootReducer,
16// //middleware: thunk
17// });
18
19export const store = configureStore({
20 reducer: {
[19398ad]21 auth: authReducer,
[28b3398]22 jobAd: jobAdReducer,
[b248810]23 appl: applicationReducer,
[befb988]24 admin: adminReducer,
25 images: ImagesReducer
[d8b6c91]26 },
27});
28
29//export default store;
Note: See TracBrowser for help on using the repository browser.