main
Last change
on this file since 19398ad was 19398ad, checked in by 223021 <daniel.ilievski.2@…>, 5 months ago |
Implemented backend and frontend CRUD operations for job advertisements
|
-
Property mode
set to
100644
|
File size:
530 bytes
|
Line | |
---|
1 | import { configureStore } from '@reduxjs/toolkit';
|
---|
2 | import { combineReducers } from 'redux';
|
---|
3 | import authReducer from "./reducers/authReducer";
|
---|
4 | import 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 |
|
---|
15 | export 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.