Stockage du jeton d'authentification dans le store local, permettant l'utilisation de hooks
This commit is contained in:
@ -1,8 +1,10 @@
|
||||
import { configureStore } from '@reduxjs/toolkit'
|
||||
import authReducer from './features/location/authSlice'
|
||||
import locationReducer from './features/location/locationSlice'
|
||||
|
||||
const store = configureStore({
|
||||
reducer: {
|
||||
auth: authReducer,
|
||||
location: locationReducer,
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user