Projekt

Obecné

Profil

Stáhnout (345 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
import { configureStore } from "@reduxjs/toolkit"
2
import userReducer from "./reducers/userSlice"
3

    
4
const store = configureStore({
5
    reducer: {
6
        user: userReducer,
7
    },
8
})
9

    
10
export default store
11
export type RootState = ReturnType<typeof store.getState>
12
export type AppStore = typeof store
13
export type AppDispatch = typeof store.dispatch
    (1-1/1)