Structure de données jeu client
This commit is contained in:
@ -1,11 +1,19 @@
|
||||
import { configureStore } from '@reduxjs/toolkit'
|
||||
import authReducer from './features/location/authSlice'
|
||||
import authReducer from './features/auth/authSlice'
|
||||
import challengesReducer from './features/challenges/challengesSlice'
|
||||
import challengeActionsReducer from './features/challengeActions/challengeActionsSlice'
|
||||
import gameReducer from './features/game/gameSlice'
|
||||
import locationReducer from './features/location/locationSlice'
|
||||
import trainReducer from './features/train/trainSlice'
|
||||
|
||||
const store = configureStore({
|
||||
reducer: {
|
||||
auth: authReducer,
|
||||
challenges: challengesReducer,
|
||||
challengeActions: challengeActionsReducer,
|
||||
game: gameReducer,
|
||||
location: locationReducer,
|
||||
train: trainReducer,
|
||||
},
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user