diff options
Diffstat (limited to 'src/store.ts')
-rw-r--r-- | src/store.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/store.ts b/src/store.ts index 1b9807b..e516bba 100644 --- a/src/store.ts +++ b/src/store.ts @@ -1,9 +1,11 @@ import { combineReducers, configureStore } from "@reduxjs/toolkit"; import authorizationReducer from "./slices/authorization"; +import voteReducer from "./slices/votes"; const rootReducer = combineReducers({ - authorization: authorizationReducer + authorization: authorizationReducer, + vote: voteReducer }); export const setupStore = (preloadedState?: Partial<RootState>) => { |