aboutsummaryrefslogtreecommitdiff
path: root/jb-ui/src/store.ts
diff options
context:
space:
mode:
Diffstat (limited to 'jb-ui/src/store.ts')
-rw-r--r--jb-ui/src/store.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/jb-ui/src/store.ts b/jb-ui/src/store.ts
index 081de9f..c143999 100644
--- a/jb-ui/src/store.ts
+++ b/jb-ui/src/store.ts
@@ -7,6 +7,7 @@ import profilingQuestionsReducers from "@/models/profilingQuestionsSlice";
import cashoutMethodReducers from "@/models/cashoutMethodsSlice";
import type { Action, ThunkAction } from "@reduxjs/toolkit";
import { configureStore } from "@reduxjs/toolkit";
+import { cashoutRequests } from "@/models/cashoutRequests";
export const store = configureStore({
reducer: {
@@ -17,8 +18,10 @@ export const store = configureStore({
events: grlEventsReducers,
profilingQuestions: profilingQuestionsReducers,
cashoutMethods: cashoutMethodReducers,
+ cashoutRequests: cashoutRequests.reducer,
},
- middleware: (getDefault) => getDefault().concat(authApi.middleware),
+ middleware: (getDefault) =>
+ getDefault().concat(authApi.middleware).concat(cashoutRequests.middleware),
});
// Infer the type of `store`