You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
471 B
16 lines
471 B
import { configureStore } from '@reduxjs/toolkit'
|
|
import apiKeyListReducer from './apiKeyListReducer'
|
|
import authReducer from './authReducer'
|
|
import deviceListReducer from './deviceListReducer'
|
|
|
|
export const store = configureStore({
|
|
reducer: {
|
|
auth: authReducer,
|
|
apiKeyList: apiKeyListReducer,
|
|
deviceList: deviceListReducer,
|
|
},
|
|
enhancers: [],
|
|
})
|
|
|
|
export type RootState = ReturnType<typeof store.getState>
|
|
export type AppDispatch = typeof store.dispatch
|