From cd173e67e4e0514271371f4a5e5136f7f61d06d1 Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Tue, 29 Sep 2026 11:47:48 -0700 Subject: Redemption Modal. Redemption Magic flow. User Account Icon --- jb-ui/src/models/appSlice.ts | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'jb-ui/src/models/appSlice.ts') diff --git a/jb-ui/src/models/appSlice.ts b/jb-ui/src/models/appSlice.ts index 42a776e..6cb7fc0 100644 --- a/jb-ui/src/models/appSlice.ts +++ b/jb-ui/src/models/appSlice.ts @@ -7,6 +7,7 @@ import { UserDisplayedWalletBalance, UserLedgerWallet, OfferwallReason, + CashoutMethodOut, } from "@/api_fsb"; import { App } from "@/models/app"; import { RootState } from "@/store"; @@ -37,6 +38,12 @@ const initialState: App = { txPagination: { pageIndex: 0, pageSize: 10 }, txTotalItems: undefined, txTotalPages: undefined, + + // cmPagination: { pageIndex: 0, pageSize: 10 }, + // cmTotalItems: undefined, + // cmTotalPages: undefined, + cmSelected: undefined, + cmShowHistory: false, } as App; const appSlice = createSlice({ @@ -144,6 +151,27 @@ const appSlice = createSlice({ setTxTotalPages(state, action: PayloadAction) { state.txTotalPages = action.payload; }, + + // setCmPagination(state, action: PayloadAction) { + // console.log("setCmPagination:payload=", action.payload); + // state.cmPagination = action.payload; + // }, + + // setCmTotalItems(state, action: PayloadAction) { + // state.cmTotalItems = action.payload; + // }, + + // setCmTotalPages(state, action: PayloadAction) { + // state.cmTotalPages = action.payload; + // }, + + setCmSelected(state, action: PayloadAction) { + state.cmSelected = action.payload; + }, + + setCmShowHistory(state, action: PayloadAction) { + state.cmShowHistory = action.payload; + }, }, }); @@ -171,6 +199,12 @@ export const { setTxPagination, setTxTotalItems, setTxTotalPages, + + // setCmPagination, + // setCmTotalItems, + // setCmTotalPages, + setCmSelected, + setCmShowHistory, } = appSlice.actions; export default appSlice.reducer; -- cgit v1.2.3