MSP-3174 add securityLogServiceApi in store
This commit is contained in:
1 parent
bdb2805844
commit
2977dfdce7
1 file changed
+4
-1
@@ -6,12 +6,12 @@ import { createContext, Dispatch, SetStateAction } from 'react'
|
||||
import accessListApi from '@services/accessListService.ts'
|
||||
import appApi from '@services/appService.ts'
|
||||
import roleApi from '@services/roleService.ts'
|
||||
import securityLogServiceApi from '@services/securityLogService.ts'
|
||||
import userServiceApi from '@services/userService.ts'
|
||||
import routeApi from '@services/routeService.ts'
|
||||
|
||||
import profileReducer from './redusers/ProfileSlice.ts'
|
||||
|
||||
|
||||
export interface ContextProps {
|
||||
setTheme: Dispatch<
|
||||
SetStateAction<{ algorithm: (token: SeedToken) => MapToken }>
|
||||
@@ -26,6 +26,7 @@ const rootReducer = combineReducers({
|
||||
profileReducer,
|
||||
[roleApi.reducerPath]: roleApi.reducer,
|
||||
[userServiceApi.reducerPath]: userServiceApi.reducer,
|
||||
[securityLogServiceApi.reducerPath]: securityLogServiceApi.reducer,
|
||||
[appApi.reducerPath]: appApi.reducer,
|
||||
[accessListApi.reducerPath]: accessListApi.reducer,
|
||||
[routeApi.reducerPath]: routeApi.reducer
|
||||
@@ -37,6 +38,8 @@ export const setupStore = () =>
|
||||
middleware: (getDefaultMiddleware) =>
|
||||
getDefaultMiddleware().concat(
|
||||
roleApi.middleware,
|
||||
userServiceApi.middleware,
|
||||
securityLogServiceApi.middleware,
|
||||
appApi.middleware,
|
||||
accessListApi.middleware,
|
||||
routeApi.middleware,
|
||||
|
||||
Reference in new issue
Block a user