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

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

Implemented backend and frontend CRUD operations for job advertisements

  • Property mode set to 100644
File size: 530 bytes
Line 
1import { configureStore } from '@reduxjs/toolkit';
2import { combineReducers } from 'redux';
3import authReducer from "./reducers/authReducer";
4import jobAdReducer from "./reducers/jobAdvertisementReducer";
5
6// const rootReducer = combineReducers({
7// auth: AuthReducer
8// });
9//
10// export const store = configureStore({
11// reducer: rootReducer,
12// //middleware: thunk
13// });
14
15export const store = configureStore({
16 reducer: {
17 auth: authReducer,
18 jobAd: jobAdReducer
19 },
20});
21
22//export default store;
Note: See TracBrowser for help on using the repository browser.