From f404479d2aea3498ff1bb8b31f3e24de39f9b0bd Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Thu, 11 Jul 2024 02:24:27 +0100 Subject: Add voteReducer to rootReducer Redux configuration --- src/store.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) => { -- cgit v1.2.3