feat: add slice to the store

This commit is contained in:
RadoslavDimchev 2023-08-23 13:12:38 +03:00
parent 35e0fabc69
commit 894d7aa575
1 changed files with 2 additions and 0 deletions

View File

@ -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,
}, },
}) })