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

main
Last change on this file since d8b6c91 was d8b6c91, checked in by 223021 <daniel.ilievski.2@…>, 7 weeks ago

Initial commit - implementirano registracija i logiranje so Spring Security i JSON Web Token-i vo backend-ot kako i navbar i formi za istoto vo frontend-ot

  • Property mode set to 100644
File size: 475 bytes
Line 
1import { configureStore } from '@reduxjs/toolkit';
2import { combineReducers } from 'redux';
3import authReducer from "./reducers/authReducer";
4import { thunk } from 'redux-thunk';
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 },
19});
20
21//export default store;
Note: See TracBrowser for help on using the repository browser.