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
Line 
1import { configureStore } from '@reduxjs/toolkit';
2import { combineReducers } from 'redux';
3import authReducer from "./reducers/authReducer";
4import jobAdReducer from "./reducers/jobAdvertisementReducer";
5import applicationReducer from "./reducers/applicationReducer"
6import adminReducer from "./reducers/adminReducer"
7import {AdminActions} from "./actions/adminActions";
8import ImagesReducer from "./reducers/imagesReducer";
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: {
21 auth: authReducer,
22 jobAd: jobAdReducer,
23 appl: applicationReducer,
24 admin: adminReducer,
25 images: ImagesReducer
26 },
27});
28
29//export default store;
Note: See TracBrowser for help on using the repository browser.