main
Last change
on this file since d8b6c91 was d8b6c91, checked in by 223021 <daniel.ilievski.2@…>, 5 months 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
|
Rev | Line | |
---|
[d8b6c91] | 1 | import { configureStore } from '@reduxjs/toolkit';
|
---|
| 2 | import { combineReducers } from 'redux';
|
---|
| 3 | import authReducer from "./reducers/authReducer";
|
---|
| 4 | import { 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 |
|
---|
| 15 | export 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.