feat: add slice to the store
This commit is contained in:
parent
35e0fabc69
commit
894d7aa575
|
@ -1,11 +1,13 @@
|
||||||
import { configureStore } from '@reduxjs/toolkit'
|
import { configureStore } from '@reduxjs/toolkit'
|
||||||
import deviceHealthReducer from './deviceHealthCheck/slice'
|
import deviceHealthReducer from './deviceHealthCheck/slice'
|
||||||
import pinnedMessageReducer from './PinnedMessage/slice'
|
import pinnedMessageReducer from './PinnedMessage/slice'
|
||||||
|
import themeReducer from './theme/slice'
|
||||||
|
|
||||||
const store = configureStore({
|
const store = configureStore({
|
||||||
reducer: {
|
reducer: {
|
||||||
deviceHealth: deviceHealthReducer,
|
deviceHealth: deviceHealthReducer,
|
||||||
pinnedMessage: pinnedMessageReducer,
|
pinnedMessage: pinnedMessageReducer,
|
||||||
|
theme: themeReducer,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue